Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ size
Method
size
paddle/common/array.h:72–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
}
71
72
HOSTDEVICE constexpr size_t size() const { return N; }
73
74
HOSTDEVICE inline bool operator==(const Array<T, N> &other) const {
75
return UnrollCompare<N>::Run(data_, other.data_);
Callers
15
DDim
Method · 0.45
make_ddim
Function · 0.45
operator==
Method · 0.45
product
Function · 0.45
contain_unknown_dim
Function · 0.45
slice_ddim
Function · 0.45
arity
Function · 0.45
ddim.cc
File · 0.45
flatten_to_3d
Function · 0.45
flatten_to_2d
Function · 0.45
stride
Function · 0.45
stride_numel
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected