openvino.runtime.opset16.sparse_fill_empty_rows#

openvino.runtime.opset16.sparse_fill_empty_rows(values: Node | int | float | ndarray, dense_shape: Node | int | float | ndarray, indices: Node | int | float | ndarray, default_value: Node | int | float | ndarray, name: str | None = None) Node#

Fills empty rows of an input sparse tensor with a default value.

Parameters:
  • 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.

  • indices – 2D tensor indicating the positions at which values are placed.

  • default_value – A scalar value to be inserted into empty rows.

  • name – Optional name for the node.

Returns:

The new node performing SparseFillEmptyRows operation with three outputs: [output_indices, output_values, empty_row_indicator]