Remove the use of designated initializers.

PiperOrigin-RevId: 486185274
This commit is contained in:
Jiuqiang Tang 2022-11-04 11:13:30 -07:00 committed by Copybara-Service
parent f05868d8e0
commit 66e591d4bc

View File

@ -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)]};
}};
} }
}; };