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

Method clone

caffe2/python/schema.py:752–757  ·  view source on GitHub ↗
(self, keep_blobs=True)

Source from the content-addressed store, hash-verified

750 return [self]
751
752 def clone(self, keep_blobs=True):
753 return Scalar(
754 dtype=self._original_dtype,
755 blob=self._blob if keep_blobs else None,
756 metadata=self._metadata
757 )
758
759 def get(self):
760 """Gets the current blob of this Scalar field."""

Callers

nothing calls this directly

Calls 1

ScalarClass · 0.85

Tested by

no test coverage detected