megengine.amp.convert_tensor_format

convert_tensor_format(x, inplace=True)[源代码]

Convert NCHW Tensor to NHWC Tensor.