Add gemmlowp label for SquaredDifference and Sum ops
PiperOrigin-RevId: 258267779
This commit is contained in:
parent
0ea905b754
commit
cdc1338193
@ -523,6 +523,7 @@ TfLiteStatus EvalGeneric(TfLiteContext* context, TfLiteNode* node) {
|
||||
|
||||
TfLiteStatus EvalSum(TfLiteContext* context, TfLiteNode* node) {
|
||||
OpContext op_context(context, node);
|
||||
gemmlowp::ScopedProfilingLabel label("Sum");
|
||||
const auto& input = op_context.input;
|
||||
const auto& output = op_context.output;
|
||||
const bool same_scale =
|
||||
|
@ -95,6 +95,7 @@ void EvalSquaredDifference(TfLiteContext* context, TfLiteNode* node,
|
||||
|
||||
TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
|
||||
OpData* data = reinterpret_cast<OpData*>(node->user_data);
|
||||
gemmlowp::ScopedProfilingLabel label("SquaredDifference");
|
||||
|
||||
const TfLiteTensor* input1 = GetInput(context, node, kInputTensor1);
|
||||
const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user