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

Method is_tensor

exir/pass_base.py:145–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143 return self.data
144
145 def is_tensor(self) -> bool:
146 return isinstance(self.data, torch.Tensor)
147
148 # pyre-ignore
149 def __iter__(self):

Callers 3

_patch_specFunction · 0.45
facto_testcase_genFunction · 0.45

Calls

no outgoing calls

Tested by 2

_patch_specFunction · 0.36