Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ OneElemSize
Method
OneElemSize
oneflow/core/kernel/boxing_kernel.cpp:95–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
93
}
94
95
size_t OneElemSize() const { return GetSizeOfDataType(BnInOp2Blob_(bns_->Get(0))->data_type()); }
96
97
int64_t TotalElemNum() const { return seg_num_ * elem_sum_.back(); }
98
Callers
2
ConcatSplitPartDataContent
Function · 0.80
ConcatSplitDataContent
Function · 0.80
Calls
3
GetSizeOfDataType
Function · 0.85
data_type
Method · 0.45
Get
Method · 0.45
Tested by
no test coverage detected