FlatTensors constructor

FlatTensors({
  1. Map<String, FlatTensor>? tensors,
})

Implementation

factory FlatTensors({
  $core.Map<$core.String, FlatTensor>? tensors,
}) {
  final $result = create();
  if (tensors != null) {
    $result.tensors.addAll(tensors);
  }
  return $result;
}