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

Function MLUOP_WIN_API mluOpGetTensorElementNum

core/tensor.cpp:853–857  ·  view source on GitHub ↗

usr interface.

Source from the content-addressed store, hash-verified

851
852// usr interface.
853uint64_t MLUOP_WIN_API
854mluOpGetTensorElementNum(const mluOpTensorDescriptor_t desc) {
855 CHECK(desc != NULL);
856 return desc->getTensorElementNum();
857}
858
859uint64_t mluOpGetSeqDataElementNum(mluOpSeqDataDescriptor_t desc) {
860 CHECK(desc != NULL);

Callers

nothing calls this directly

Calls 1

getTensorElementNumMethod · 0.80

Tested by

no test coverage detected