Add Register_TFLITE_DETECTION_POST_PROCESS as an alias to existing register function

Since the op is named "TFLite_Detection_PostProcess", the selective build script will assume the register fuction named as above.

PiperOrigin-RevId: 357516027
Change-Id: I428fb0cd8f468458753677b90e123d7392599bbc
This commit is contained in:
Thai Nguyen 2021-02-14 23:31:06 -08:00 committed by TensorFlower Gardener
parent 01fe322bbb
commit fc85b20003
8 changed files with 40 additions and 0 deletions

View File

@ -818,6 +818,13 @@ TfLiteRegistration* Register_DETECTION_POSTPROCESS() {
return &r;
}
// Since the op is named "TFLite_Detection_PostProcess", the selective build
// tool will assume the register function is named
// "Register_TFLITE_DETECTION_POST_PROCESS".
TfLiteRegistration* Register_TFLITE_DETECTION_POST_PROCESS() {
return Register_DETECTION_POSTPROCESS();
}
} // namespace custom
} // namespace ops
} // namespace tflite

View File

@ -131,6 +131,9 @@ TfLiteRegistration* Register_HASHTABLE() {
return &r;
}
// Alias for selective build.
TfLiteRegistration* Register_HASH_TABLE_V2() { return Register_HASHTABLE(); }
} // namespace custom
} // namespace ops
} // namespace tflite

View File

@ -98,6 +98,11 @@ TfLiteRegistration* Register_HASHTABLE_FIND() {
return &r;
}
// Alias for selective build.
TfLiteRegistration* Register_LOOKUP_TABLE_FIND_V2() {
return Register_HASHTABLE_FIND();
}
} // namespace custom
} // namespace ops
} // namespace tflite

View File

@ -92,6 +92,11 @@ TfLiteRegistration* Register_HASHTABLE_IMPORT() {
return &r;
}
// Alias for selective build.
TfLiteRegistration* Register_LOOKUP_TABLE_IMPORT_V2() {
return Register_HASHTABLE_IMPORT();
}
} // namespace custom
} // namespace ops
} // namespace tflite

View File

@ -79,6 +79,11 @@ TfLiteRegistration* Register_HASHTABLE_SIZE() {
return &r;
}
// Alias for selective build.
TfLiteRegistration* Register_LOOKUP_TABLE_SIZE_V2() {
return Register_HASHTABLE_SIZE();
}
} // namespace custom
} // namespace ops
} // namespace tflite

View File

@ -144,6 +144,11 @@ TfLiteRegistration* RegisterDenseImageWarp() {
return ®
}
// Alias for selective build.
TfLiteRegistration* Register_DENSE_IMAGE_WARP() {
return RegisterDenseImageWarp();
}
} // namespace custom
} // namespace ops
} // namespace tflite

View File

@ -244,6 +244,11 @@ TfLiteRegistration* RegisterMaxPoolWithArgmax() {
return &r;
}
// Alias for selective build.
TfLiteRegistration* Register_MAX_POOL_WITH_ARGMAX() {
return RegisterMaxPoolWithArgmax();
}
} // namespace custom
} // namespace ops
} // namespace tflite

View File

@ -127,6 +127,11 @@ TfLiteRegistration* RegisterMaxUnpooling2D() {
return ®
}
// Alias for selective build.
TfLiteRegistration* Register_MAX_UNPOOLING2D() {
return RegisterMaxUnpooling2D();
}
} // namespace custom
} // namespace ops
} // namespace tflite