Remove the use of designated initializers.
PiperOrigin-RevId: 486185274
This commit is contained in:
parent
f05868d8e0
commit
66e591d4bc
|
@ -287,10 +287,9 @@ class ImageSegmenterGraph : public core::ModelTaskGraph {
|
||||||
tensor_to_images[Output<Image>::Multiple(kSegmentationTag)][i]));
|
tensor_to_images[Output<Image>::Multiple(kSegmentationTag)][i]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {{
|
return ImageSegmenterOutputs{
|
||||||
.segmented_masks = segmented_masks,
|
/*segmented_masks=*/segmented_masks,
|
||||||
.image = preprocessing[Output<Image>(kImageTag)],
|
/*image=*/preprocessing[Output<Image>(kImageTag)]};
|
||||||
}};
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user