build method Null safety

  1. @override
Tensor<double> build(
  1. {bool recycle = false}

Builds tensor and resets elements to empty list.

If recycle is true, elements is not reset and the tensor will be recycled the next build is called (only if tensorShape is equal and elements is identical).


Tensor<double> build({bool recycle = false}) {
  throw UnimplementedError();