MCPcopy Create free account
hub / github.com/pytorch/pytorch / tolist

Method tolist

torch/_numpy/_ndarray.py:338–339  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

336 self.tensor.fill_(value)
337
338 def tolist(self):
339 return self.tensor.tolist()
340
341 def __iter__(self):
342 return (ndarray(x) for x in self.tensor.__iter__())

Callers 15

tensor_splitFunction · 0.45
_tensor_to_half_valFunction · 0.45
_tensor_to_complex_valFunction · 0.45
_tensor_to_listFunction · 0.45
make_histogramFunction · 0.45
pr_curve_rawFunction · 0.45
pr_curveFunction · 0.45
_get_tensor_summaryFunction · 0.45
__iter__Method · 0.45
random_splitFunction · 0.45
__iter__Method · 0.45
__iter__Method · 0.45

Calls

no outgoing calls