nvidia.dali.experimental.dynamic.zeros#

nvidia.dali.experimental.dynamic.zeros(*, batch_size=None, device=None, dtype=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.

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