19 #include "../C/crop.h" 20 #include "primitive.hpp" 49 CLDNN_DECLATE_PRIMITIVE(
crop)
83 void update_dto(
dto&
dto)
const override tensor reference_input
Reference input tensor with the required dimensions.
Represents data padding information.
Performs crop operation on input.
N-dimensional vector. Mostly used to represent memory size.
cldnn_tensor offsets
Input offsets.
cldnn_tensor reference_input
Reference input tensor with the required dimensions.
Performs crop operation on input.
tensor offsets
Input offsets.
crop(const primitive_id &id, const primitive_id &input, const tensor &reference_input, const tensor &offsets, const padding &output_padding=padding())
Constructs crop primitive.
crop(const dto *dto)
Constructs a copy from C API cldnn_crop_desc.
std::string primitive_id
Unique id of a primitive within a topology.
fixed_size_vector_ref input
List of ids of input primitives.
base class for all primitives implementations.
padding output_padding
Requested output padding.