OrtApi.GetTensorShapeElementCount

Return the number of elements specified by the tensor shape. Return a negative value if unknown (i.e., any dimension is negative.) e.g. [] -> 1 [1,3,4] -> 12 [2,0,4] -> 0 [-1,3,4] -> -1

struct OrtApi
OrtStatus* function(const(OrtTensorTypeAndShapeInfo)* info, size_t* out_) GetTensorShapeElementCount;

Meta