28 Index expected_height,
30 Index expected_channels,
31 bool divide_by_255 =
false);
Definition adaptive_moment_estimation.h:14
void translate_image_y(const Tensor3 &, Tensor3 &, Index)
Translates the image along the Y axis by the given number of pixels.
void rotate_image(const Tensor3 &, Tensor3 &, float)
Rotates the image by the given angle (radians) into the destination tensor.
void translate_image_x(const Tensor3 &, Tensor3 &, Index)
Translates the image along the X axis by the given number of pixels.
void reflect_image_horizontal(Tensor3 &)
Mirrors the image horizontally (left-right) in place.
Tensor3 load_image(const filesystem::path &)
Loads an image from disk into a rank-3 (height, width, channels) tensor.
Tensor3 resize_image(const Tensor3 &, Index, Index)
Returns a resized copy of an image at the requested height and width.
void reflect_image_vertical(Tensor3 &)
Mirrors the image vertically (top-bottom) in place.
Tensor< float, 3, Layout|AlignedMax > Tensor3
Definition pch.h:190