Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/decord
/ __repr__
Method
__repr__
python/decord/_ffi/ndarray.py:237–240 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
235
return
self
236
237
def
__repr__(self):
238
res =
"<decord.NDArray shape={0}, {1}>\n"
.format(self.shape, self.context)
239
res += self.asnumpy().__repr__()
240
return
res
241
242
def
__str__(self):
243
return
str(self.asnumpy())
Callers
nothing calls this directly
Calls
1
asnumpy
Method · 0.95
Tested by
no test coverage detected