toBuilder method
Constructs a TensorBuilder that has this tensor.
If copy
is false
, this is tensor is not copied to the builder.
Implementation
@override
Float32TensorBuilder toBuilder({bool copy = true}) {
final builder = Float32TensorBuilder();
if (copy) {
builder.setTensor(this);
}
return builder;
}