Searched refs:_convert_image_format (Results 1 – 2 of 2) sorted by relevance
369 tensor = _convert_image_format(np_value, input_format)413 def _convert_image_format(np_tensor, input_format, out_format='HWC'): function
33 from mindspore.train.summary._summary_adapter import _convert_image_format570 data_np = _convert_image_format(np.expand_dims(inp.asnumpy(), 0), 'NCHW')