length property Null safety

int length

Length of the tensor.

Implementation

int get length => tensorShape.numberOfElements;