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

Method InitFromObj

exir/_serialize/generated/executorch_flatbuffer/Int.py:76–79  ·  view source on GitHub ↗
(cls, int)

Source from the content-addressed store, hash-verified

74
75 @classmethod
76 def InitFromObj(cls, int):
77 x = IntT()
78 x._UnPack(int)
79 return x
80
81 def __eq__(self, other):
82 return type(self) == type(other) and \

Callers 1

InitFromBufMethod · 0.45

Calls 2

_UnPackMethod · 0.95
IntTClass · 0.85

Tested by

no test coverage detected