|
pRC
multi-purpose Tensor Train library for C++
|
Go to the source code of this file.
Namespaces | |
| namespace | pRC |
Functions | |
| template<Size... Ss, class X , class... Os, class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< IsInvocable< View, X > > = 0, If< All< IsConvertible< Os, Index >... > > = 0, If< IsSatisfied<(sizeof...(Ss)==typename R::Dimension())> > = 0, If< IsSatisfied<(sizeof...(Os)==typename R::Dimension())> > = 0, If< IsSatisfied<(typename R::Sizes() % Sizes< Ss... >()==Constant< Size, 0 >())> > | |
| static constexpr auto | pRC::stride (X &&a, Os const ... offsets) |
| Constructs a Tensor by taking equally-sized steps through the input Tensor. | |
| template<Size... Ss, class X , class... Os, class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< Not< IsInvocable< View, X > > > = 0, If< IsInvocable< Stride< Ss... >, X &, Os... > > = 0> | |
| static constexpr auto | pRC::stride (X &&a, Os const ... offsets) |
| Splits a Tensor into equal sized blocks and returns one of them. | |