nvidia.dali.experimental.dynamic.full#
- nvidia.dali.experimental.dynamic.full(
- fill_value,
- /,
- *,
- batch_size=None,
- device=None,
- layout=None,
- shape=None,
Returns new data of given shape and type, filled with a fill value.
If the fill_value is not a scalar, it must be broadcastable to the output shape (NumPy-style broadcasting). Dimensions are compared from innermost to outermost, and each dimension must either match or one of them must be 1. In case of different dimensionality, the input shape is padded with 1s for the missing outermost dimensions.
- Supported backends
‘cpu’
- Parameters:
fill_value¶ (Tensor/Batch) – The fill value.
- Keyword Arguments:
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.