Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ __repr__
Method
__repr__
python/singa/tensor.py:777–779 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
775
}
776
777
def
__repr__(self):
778
return
"%s, %s"
% (np.array2string(
779
to_numpy(self)), self.dtype_name[self.dtype])
780
781
782
''
&
#x27; alias Tensor to PlaceHolder
Callers
nothing calls this directly
Calls
1
to_numpy
Function · 0.70
Tested by
no test coverage detected