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

Function MLUOP_WIN_API mluOpGetTensorSetDescriptorSize

core/tensor.cpp:951–957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

949}
950
951mluOpStatus_t MLUOP_WIN_API mluOpGetTensorSetDescriptorSize(
952 mluOpTensorSetDescriptor_t tensorSet, int *sizeInBytes) {
953 PARAM_CHECK("[mluOpGetTensorSetDescriptorSize]", tensorSet != NULL);
954 int tensor_set_size = tensorSet->getSize();
955 *sizeInBytes = tensor_set_size;
956 return MLUOP_STATUS_SUCCESS;
957}
958
959mluOpStatus_t MLUOP_WIN_API mluOpGetTensorAndDataFromTensorSet(
960 mluOpTensorSetDescriptor_t tensorSet, const int tensorSetDimNb,

Callers

nothing calls this directly

Calls 1

getSizeMethod · 0.80

Tested by

no test coverage detected