TensorInfo constructor
TensorInfo({})
Implementation
factory TensorInfo({
$core.String? name,
$core.String? description,
$core.String? dataType,
$core.Iterable<$core.int>? shape,
$core.Iterable<File>? associatedFiles,
$43.Struct? extra,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (description != null) {
$result.description = description;
}
if (dataType != null) {
$result.dataType = dataType;
}
if (shape != null) {
$result.shape.addAll(shape);
}
if (associatedFiles != null) {
$result.associatedFiles.addAll(associatedFiles);
}
if (extra != null) {
$result.extra = extra;
}
return $result;
}