27 #ifndef LBANN_TRANSFORMS_CUTOUT_HPP_INCLUDED 28 #define LBANN_TRANSFORMS_CUTOUT_HPP_INCLUDED 32 #include <google/protobuf/message.h> 59 cutout(
size_t num_holes,
size_t length)
72 std::string
get_type()
const override {
return "cutout"; }
75 std::vector<size_t>& dims)
override;
84 std::unique_ptr<transform>
90 #endif // LBANN_TRANSFORMS_CUTOUT_HPP_INCLUDED
T & data(const cnpy::NpyArray &na, const std::vector< size_t > indices)
A type-erased wrapper around an El::Matrix<T,Device::CPU>