MCPcopy Create free account
hub / github.com/Cambricon/mlu-ops / MLUOP_WIN_API mluOpDestroyTensorSetDescriptor

Function MLUOP_WIN_API mluOpDestroyTensorSetDescriptor

core/tensor.cpp:904–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902}
903
904mluOpStatus_t MLUOP_WIN_API
905mluOpDestroyTensorSetDescriptor(mluOpTensorSetDescriptor_t tensorSet) {
906 PARAM_CHECK("[mluOpDestroyTensorSetDescriptor]", tensorSet != NULL);
907 tensorSet->tensor_set.clear();
908 delete tensorSet;
909 tensorSet = NULL;
910 return MLUOP_STATUS_SUCCESS;
911}
912
913mluOpStatus_t MLUOP_WIN_API mluOpInitTensorSetMemberDescriptor(
914 mluOpTensorSetDescriptor_t tensorSet, const int tensorSetDimNb,

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected