chromium/third_party/eigen3/src/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h

// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Navdeep Jaitly <[email protected]>
//                    Benoit Steiner <[email protected]>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

#ifndef EIGEN_CXX11_TENSOR_TENSOR_REVERSE_H
#define EIGEN_CXX11_TENSOR_TENSOR_REVERSE_H
// IWYU pragma: private
#include "./InternalHeaderCheck.h"

namespace Eigen {

/** \class TensorReverse
 * \ingroup CXX11_Tensor_Module
 *
 * \brief Tensor reverse elements class.
 *
 */
namespace internal {
traits<TensorReverseOp<ReverseDimensions, XprType>>;

eval<TensorReverseOp<ReverseDimensions, XprType>, Eigen::Dense>;

nested<TensorReverseOp<ReverseDimensions, XprType>, 1, typename eval<TensorReverseOp<ReverseDimensions, XprType>>::type>;

}  // end namespace internal

template <typename ReverseDimensions, typename XprType>
class TensorReverseOp : public TensorBase<TensorReverseOp<ReverseDimensions, XprType>, WriteAccessors> {};

// Eval as rvalue
TensorEvaluator<const TensorReverseOp<ReverseDimensions, ArgType>, Device>;

// Eval as lvalue

TensorEvaluator<TensorReverseOp<ReverseDimensions, ArgType>, Device>;

}  // end namespace Eigen

#endif  // EIGEN_CXX11_TENSOR_TENSOR_REVERSE_H