MCPcopy Create free account
hub / github.com/LBANN/lbann / reset

Method reset

src/utils/miopen.cpp:179–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void TensorDescriptor::reset(miopenTensorDescriptor_t desc)
180{
181 if (desc_) {
182 CHECK_MIOPEN(miopenDestroyTensorDescriptor(desc_));
183 }
184 desc_ = desc;
185}
186
187miopenTensorDescriptor_t TensorDescriptor::release() noexcept
188{

Callers 7

initializeFunction · 0.45
destroyFunction · 0.45
~PoolingDescriptorMethod · 0.45
~LRNDescriptorMethod · 0.45
set_num_parentsMethod · 0.45
set_num_childrenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected