MCPcopy Create free account
hub / github.com/pytorch/executorch / Layout

Method Layout

exir/_serialize/generated/executorch_flatbuffer/Tensor.py:129–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127
128 # Tensor
129 def Layout(self):
130 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(18))
131 if o != 0:
132 return self._tab.Get(flatbuffers.number_types.Int8Flags, o + self._tab.Pos)
133 return 0
134
135 # Tensor
136 def ShapeDynamism(self):

Callers 1

_UnPackMethod · 0.80

Calls 1

OffsetMethod · 0.45

Tested by

no test coverage detected