| 902 | } |
| 903 | |
| 904 | mluOpStatus_t MLUOP_WIN_API |
| 905 | mluOpDestroyTensorSetDescriptor(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 | |
| 913 | mluOpStatus_t MLUOP_WIN_API mluOpInitTensorSetMemberDescriptor( |
| 914 | mluOpTensorSetDescriptor_t tensorSet, const int tensorSetDimNb, |