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