Class ov::op::v16::SparseFillEmptyRows#
-
class SparseFillEmptyRows : public ov::op::Op#
An operation which fills empty rows of a sparse tensor with a default value.
Public Functions
-
SparseFillEmptyRows(const Output<Node> &indices, const Output<Node> &values, const Output<Node> &dense_shape, const Output<Node> &default_value)#
Constructs a SparseFillEmptyRows operation.
- Parameters:
indices – 2D tensor indicating the positions of values in the sparse tensor.
values – 1D tensor containing the values to be inserted at the specified indices.
dense_shape – 1D tensor indicating the shape of the 2D dense tensor.
default_value – Scalar value to be inserted into the empty rows.
-
virtual void validate_and_infer_types() override#
Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.
Throws if the node is invalid.
-
SparseFillEmptyRows(const Output<Node> &indices, const Output<Node> &values, const Output<Node> &dense_shape, const Output<Node> &default_value)#