factory FlatTensorDataFloat({ $core.Iterable<$core.double>? data, }) { final $result = create(); if (data != null) { $result.data.addAll(data); } return $result; }