nvidia.dali.fn.image_decoder_slice#
- nvidia.dali.fn.image_decoder_slice(__input_0, __input_1=None, __input_2=None, /, *, affine=True, axes=[1, 0], axis_names='WH', bytes_per_sample_hint=[0], device_memory_padding=16777216, device_memory_padding_jpeg2k=0, end=None, host_memory_padding=8388608, host_memory_padding_jpeg2k=0, hw_decoder_load=0.65, hybrid_huffman_threshold=1000000, jpeg_fancy_upsampling=False, memory_stats=False, normalized_anchor=True, normalized_shape=True, output_type=DALIImageType.RGB, preallocate_height_hint=0, preallocate_width_hint=0, preserve=False, rel_end=None, rel_shape=None, rel_start=None, shape=None, start=None, use_fast_idct=False, device=None, name=None)#
警告
此运算符现已弃用。请使用
decoders.image_slice()
代替。在 DALI 1.0 中,所有解码器都被移动到专用的
decoders
子模块中,并被重命名以遵循通用模式。这是一个占位符运算符,具有相同的功能,以实现向后兼容性。用于
decoders.image_slice()
的旧别名。