Metadata constructor
Implementation
factory Metadata({
$core.String? name,
$core.String? type,
$core.String? description,
$core.Iterable<TensorInfo>? inputInfo,
$core.Iterable<TensorInfo>? outputInfo,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (type != null) {
$result.type = type;
}
if (description != null) {
$result.description = description;
}
if (inputInfo != null) {
$result.inputInfo.addAll(inputInfo);
}
if (outputInfo != null) {
$result.outputInfo.addAll(outputInfo);
}
return $result;
}