nvidia.dali.fn.image_decoder_crop#
- nvidia.dali.fn.image_decoder_crop(__input, /, *, affine=True, bytes_per_sample_hint=[0], crop=None, crop_d=0.0, crop_h=0.0, crop_pos_x=0.5, crop_pos_y=0.5, crop_pos_z=0.5, crop_w=0.0, device_memory_padding=16777216, device_memory_padding_jpeg2k=0, 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, output_type=DALIImageType.RGB, preallocate_height_hint=0, preallocate_width_hint=0, preserve=False, rounding='round', use_fast_idct=False, device=None, name=None)#
警告
此操作符现已弃用。请改用
decoders.image_crop()
。在 DALI 1.0 中,所有解码器都已移至专用的
decoders
子模块中,并已重命名以遵循通用模式。这是一个占位符操作符,功能相同,以实现向后兼容性。decoders.image_crop()
的旧别名。