27 #ifndef LBANN_TRANSFORMS_ADJUST_BRIGHTNESS_HPP_INCLUDED 28 #define LBANN_TRANSFORMS_ADJUST_BRIGHTNESS_HPP_INCLUDED 32 #include <google/protobuf/message.h> 48 LBANN_ERROR(
"Brightness factor must be non-negative.");
54 std::string
get_type()
const override {
return "adjust_brightness"; }
57 std::vector<size_t>& dims)
override;
65 std::unique_ptr<transform>
71 #endif // LBANN_TRANSFORMS_ADJUST_BRIGHTNESS_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>