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

Method Inputs

exir/_serialize/generated/executorch_flatbuffer/Chain.py:37–42  ·  view source on GitHub ↗
(self, j: int)

Source from the content-addressed store, hash-verified

35
36 # Chain
37 def Inputs(self, j: int):
38 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
39 if o != 0:
40 a = self._tab.Vector(o)
41 return self._tab.Get(flatbuffers.number_types.Int32Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 4))
42 return 0
43
44 # Chain
45 def InputsAsNumpy(self):

Callers 1

_UnPackMethod · 0.45

Calls 1

OffsetMethod · 0.45

Tested by

no test coverage detected