3#ifndef pRC_TENSOR_TRAIN_OPERATOR_FUNCTIONS_BACKWARDS_H
4#define pRC_TENSOR_TRAIN_OPERATOR_FUNCTIONS_BACKWARDS_H
12 template<
class X,
class R = RemoveReference<X>,
13 If<TensorTrain::IsOperatorish<R>> = 0, If<IsInvocable<View, X>> = 0>
17 using M =
decltype(
reverse(
typename R::M()));
18 using N =
decltype(
reverse(
typename R::N()));
19 using Ranks =
decltype(
reverse(
typename R::Ranks()));
25 template<
class X,
class R = RemoveReference<X>,
26 If<TensorTrain::IsOperatorish<R>> = 0,
27 If<Not<IsInvocable<View, X>>> = 0>
Definition backwards.hpp:17
Definition cholesky.hpp:18
static constexpr X eval(X &&a)
Definition eval.hpp:11
static constexpr X view(X &&a)
Returns a TensorView obtained from a TensorView.
Definition view.hpp:22
static constexpr auto reverse(Direction const D)
Definition direction.hpp:24
static constexpr auto backwards(X &&a)
Flips the order of the indices of a Tensor.
Definition backwards.hpp:19
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13