27 #ifndef LBANN_TRANSFORMS_ADJUST_SATURATION_HPP_INCLUDED 28 #define LBANN_TRANSFORMS_ADJUST_SATURATION_HPP_INCLUDED 32 #include <google/protobuf/message.h> 55 LBANN_ERROR(
"Saturation factor must be non-negative.");
61 std::string
get_type()
const override {
return "adjust_saturation"; }
64 std::vector<size_t>& dims)
override;
71 std::unique_ptr<transform>
77 #endif // LBANN_TRANSFORMS_ADJUST_SATURATION_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>