Skip to contents

Returns the correspondent memory format.

Usage

torch_contiguous_format()

torch_preserve_format()

torch_channels_last_format()