MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / format

Method format

imperative/python/megengine/tensor.py:131–133  ·  view source on GitHub ↗

r"""Returns a string represents the :ref:`memory format ` of a :class:`~.Tensor`.

(self)

Source from the content-addressed store, hash-verified

129
130 @property
131 def format(self) -> str:
132 r"""Returns a string represents the :ref:`memory format <format-introduction>` of a :class:`~.Tensor`."""
133 return super().format()
134
135 @format.setter
136 def format(self, format):

Callers 15

saveFunction · 0.45
get_device_countFunction · 0.45
set_default_deviceFunction · 0.45
check_pip_envFunction · 0.45
check_windowsFunction · 0.45
__repr__Method · 0.45
toMethod · 0.45
__dlpack__Method · 0.45
checkFunction · 0.45
mainFunction · 0.45
pportMethod · 0.45

Calls 1

_set_formatMethod · 0.80

Tested by

no test coverage detected