FlatTensorDataFloat constructor

FlatTensorDataFloat({
  1. Iterable<double>? data,
})

Implementation

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