Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LBANN/lbann
/ create
Method
create
src/utils/miopen.cpp:204–209 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
202
}
203
204
void TensorDescriptor::create()
205
{
206
if (!desc_) {
207
CHECK_MIOPEN(miopenCreateTensorDescriptor(&desc_));
208
}
209
}
210
211
void TensorDescriptor::set(miopenDataType_t data_type,
212
std::vector<int> dims_in,
Callers
1
set
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected