toBuilder method Null safety

TensorBuilder<T> toBuilder(
  1. {bool copy = true}
)

Constructs a new TensorBuilder that has this tensor.

If copy is false, this tensor is not copied to the tensor builder.

Implementation

TensorBuilder<T> toBuilder({bool copy = true});