Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ Subclass
Class
Subclass
caffe2/python/schema_test.py:52–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
51
def
testListSubclassClone(self):
52
class
Subclass(schema.List):
53
pass
54
55
s = Subclass(schema.Scalar())
56
clone = s.clone()
Callers
3
testListSubclassClone
Method · 0.85
testListWithEvictedSubclassClone
Method · 0.85
testStructSubclassClone
Method · 0.85
Calls
no outgoing calls
Tested by
3
testListSubclassClone
Method · 0.68
testListWithEvictedSubclassClone
Method · 0.68
testStructSubclassClone
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…