MCPcopy Index your code
hub / github.com/pytorch/pytorch / __init__

Method __init__

caffe2/python/schema.py:725–728  ·  view source on GitHub ↗
(self, dtype=None, blob=None, metadata=None)

Source from the content-addressed store, hash-verified

723 __slots__: Sequence[str] = ("_metadata", "dtype", "_original_dtype", "_blob")
724
725 def __init__(self, dtype=None, blob=None, metadata=None):
726 self._metadata = None
727 self.set(dtype, blob, metadata, unsafe=True)
728 super().__init__([])
729
730 def field_names(self):
731 return ['']

Callers

nothing calls this directly

Calls 2

setMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected