Add tensor_index and tensor_name fields to ClassificationList

PiperOrigin-RevId: 482901854
This commit is contained in:
MediaPipe Team
2022-10-21 15:27:35 -07:00
committed by Copybara-Service
parent 36d69971a7
commit d0437b7f91
4 changed files with 46 additions and 0 deletions
@@ -37,6 +37,10 @@ message Classification {
// Group of Classification protos.
message ClassificationList {
repeated Classification classification = 1;
// Optional index of the tensor that produced these classifications.
optional int32 tensor_index = 2;
// Optional name of the tensor that produced these classifications.
optional string tensor_name = 3;
}
// Group of ClassificationList protos.