27 #ifndef LBANN_TRANSFORMS_TO_LBANN_LAYOUT_HPP_INCLUDED 28 #define LBANN_TRANSFORMS_TO_LBANN_LAYOUT_HPP_INCLUDED 32 #include <google/protobuf/message.h> 47 std::string
get_type()
const override {
return "to_lbann_layout"; }
52 std::vector<size_t>& dims)
override;
56 std::vector<size_t>& dims)
override;
59 std::unique_ptr<transform>
65 #endif // LBANN_TRANSFORMS_TO_LBANN_LAYOUT_HPP_INCLUDED
T & data(const cnpy::NpyArray &na, const std::vector< size_t > indices)
El::Matrix< DataType, El::Device::CPU > CPUMat
A type-erased wrapper around an El::Matrix<T,Device::CPU>