GetElementCnt

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Function Description

Obtains the number of elements in a tensor.

Prototype

1
int64_t GetElementCnt() const

Command-Line Options

None

Returns

Number of elements in a tensor.

Troubleshooting

None

Constraints

None