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

Function MLUOP_WIN_API mluOpGetTensorDescriptor

core/tensor.cpp:751–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751mluOpStatus_t MLUOP_WIN_API mluOpGetTensorDescriptor(
752 const mluOpTensorDescriptor_t desc, mluOpTensorLayout_t *layout,
753 mluOpDataType_t *dtype, int *dimNb, int *dimSize) {
754 PARAM_CHECK("[mluOpGetTensorDescriptor]", desc != NULL);
755 return desc->getTensorDescriptor(layout, dtype, dimNb, dimSize);
756}
757
758mluOpStatus_t MLUOP_WIN_API mluOpGetTensorDescriptor_v2(
759 const mluOpTensorDescriptor_t desc, mluOpTensorLayout_t *layout,

Callers

nothing calls this directly

Calls 1

getTensorDescriptorMethod · 0.80

Tested by

no test coverage detected