Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ nbytes
Method
nbytes
torch/_numpy/_ndarray.py:262–263 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
260
261
@property
262
def
nbytes(self):
263
return
self.tensor.storage().nbytes()
264
265
@property
266
def
T(self):
Callers
11
hash_storage
Function · 0.45
_persistent_id
Method · 0.45
_tensor_metadata
Method · 0.45
_to_bytes
Method · 0.45
codegen_model_constructor
Method · 0.45
_cpu_memory_usage
Method · 0.45
_cuda_memory_usage
Method · 0.45
_privateuse1_memory_usage
Method · 0.45
_create_tensor_proto_with_external_data
Function · 0.45
storage
Method · 0.45
compile_fn
Method · 0.45
Calls
1
storage
Method · 0.45
Tested by
no test coverage detected