nvidia.dali.experimental.dynamic.zeros#

nvidia.dali.experimental.dynamic.zeros(
*,
batch_size=None,
device=None,
dtype=None,
layout=None,
shape=None,
)#

Returns new data of given shape and type, filled with zeros.

Supported backends
  • ‘cpu’

Keyword Arguments:
  • dtype (nvidia.dali.types.DALIDataType, optional, default = DALIDataType.INT32) – Output data type.

  • layout (layout str, optional) –

    Output layout.

    If set and not empty, the layout must match the dimensionality of the output.

  • shape (int or list of int or Tensor/Batch of int, optional) – Shape of the output data.