19 #include "ngraph/node.hpp"
20 #include "ngraph/op/util/fused_op.hpp"
42 static constexpr
NodeTypeInfo type_info{
"BatchToSpace", 1};
58 const HostTensorVector& inputs)
const override;
62 clone_with_new_inputs(
const OutputVector& new_args)
const override;
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:71
A handle for one of a node's outputs.
Definition: node_output.hpp:42
Root of all actual ops.
Definition: op.hpp:29
BatchToSpace permutes data from the batch dimension of the data tensor into spatial dimensions.
Definition: batch_to_space.hpp:40
const NodeTypeInfo & get_type_info() const override
Definition: batch_to_space.hpp:43
BatchToSpace(const Output< Node > &data, const Output< Node > &block_shape, const Output< Node > &crops_begin, const Output< Node > &crops_end)
Constructs a BatchToSpace operation.
bool evaluate(const HostTensorVector &outputs, const HostTensorVector &inputs) const override
Evaluates the op on input_values putting results in output_values.
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28