MCPcopy 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

testListSubclassCloneMethod · 0.85

Calls

no outgoing calls

Tested by 3

testListSubclassCloneMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…