Class ResizeBilinear
Defined in File resize_bilinear.h
Inheritance Relationships
Base Type
public mindspore::ops::BaseOperator
Class Documentation
-
class ResizeBilinear : public mindspore::ops::BaseOperator
Resizes an image to a certain size using the bilinear interpolation. Refer to Python API mindspore.ops.ResizeBilinear for more details.
Public Functions
-
inline ResizeBilinear()
Constructor.
-
void Init(const std::vector<int64_t> &size, const bool align_corners = false)
Init. Refer to the parameters of Python API mindspore.ops.ResizeBilinear for the inputs.
-
void set_size(const std::vector<int64_t> &size)
Set size.
-
void set_align_corners(const bool align_corners)
Set align_corners.
-
std::vector<int64_t> get_size() const
Get size.
- Returns
size.
-
bool get_align_corners() const
Get align_corners.
- Returns
align_corners.
-
inline ResizeBilinear()