MCPcopy
hub / github.com/yangchris11/samurai / copy

Method copy

lib/utils/tensor.py:182–183  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180 return TensorList(super(TensorList, self).__add__(other))
181
182 def copy(self):
183 return TensorList(super(TensorList, self).copy())
184
185 def unroll(self):
186 if not any(isinstance(t, TensorList) for t in self):

Callers

nothing calls this directly

Calls 2

TensorListClass · 0.85
copyMethod · 0.45

Tested by

no test coverage detected