MCPcopy 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_implFunction · 0.45
transposeFunction · 0.45
transpose.hFile · 0.45
infer_sparse_coo_sizeFunction · 0.45
narrowFunction · 0.45
selectFunction · 0.45
tFunction · 0.45
tensor_splitFunction · 0.45

Calls 2

sizeMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected