Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ dim
Method
dim
paddle/phi/api/include/compat/ATen/core/TensorBody.h:379–379 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
377
}
378
379
int64_t dim() const { return tensor_.dims().size(); }
380
int64_t ndimension() const { return dim(); }
381
382
at::Tensor contiguous(
Callers
8
std_impl
Function · 0.45
transpose
Function · 0.45
transpose.h
File · 0.45
infer_sparse_coo_size
Function · 0.45
narrow
Function · 0.45
select
Function · 0.45
t
Function · 0.45
tensor_split
Function · 0.45
Calls
2
size
Method · 0.45
dims
Method · 0.45
Tested by
no test coverage detected