nvidia.dali.fn.full_like#
- nvidia.dali.fn.full_like(
- __data_like,
- __fill_value,
- /,
- *,
- bytes_per_sample_hint=[0],
- preserve=False,
- seed=-1,
- device=None,
- name=None,
Returns new data with the same shape and type as the input data, filled with a fill_value.
- Supported backends
‘cpu’
- Parameters:
__data_like (TensorList) – The input data value to copy the shape and type from.
__fill_value (TensorList) – The fill value.
- Keyword Arguments:
bytes_per_sample_hint (int or list of int, optional, default = [0]) –
Output size hint, in bytes per sample.
If specified, the operator’s outputs residing in GPU or page-locked host memory will be preallocated to accommodate a batch of samples of this size.
preserve (bool, optional, default = False) – Prevents the operator from being removed from the graph even if its outputs are not used.
seed (int, optional, default = -1) –
Random seed.
If not provided, it will be populated based on the global seed of the pipeline.