length property

int length

Returns number of elements in the tensor.

Implementation

int get length => elements.length;