Home
last modified time | relevance | path

Searched refs:AddBuiltin (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dregister.cc171 AddBuiltin(BuiltinOperator_ABS, Register_ABS()); in BuiltinOpResolver()
172 AddBuiltin(BuiltinOperator_RELU, Register_RELU()); in BuiltinOpResolver()
173 AddBuiltin(BuiltinOperator_RELU_N1_TO_1, Register_RELU_N1_TO_1()); in BuiltinOpResolver()
174 AddBuiltin(BuiltinOperator_RELU6, Register_RELU6(), /* min_version */ 1, in BuiltinOpResolver()
176 AddBuiltin(BuiltinOperator_TANH, Register_TANH(), /* min_version */ 1, in BuiltinOpResolver()
178 AddBuiltin(BuiltinOperator_LOGISTIC, Register_LOGISTIC(), in BuiltinOpResolver()
181 AddBuiltin(BuiltinOperator_AVERAGE_POOL_2D, Register_AVERAGE_POOL_2D(), in BuiltinOpResolver()
184 AddBuiltin(BuiltinOperator_MAX_POOL_2D, Register_MAX_POOL_2D(), in BuiltinOpResolver()
187 AddBuiltin(BuiltinOperator_L2_POOL_2D, Register_L2_POOL_2D()); in BuiltinOpResolver()
188 AddBuiltin(BuiltinOperator_CONV_2D, Register_CONV_2D(), in BuiltinOpResolver()
[all …]
Dregister_ref.cc165 AddBuiltin(BuiltinOperator_ABS, Register_ABS()); in BuiltinRefOpResolver()
166 AddBuiltin(BuiltinOperator_RELU, Register_RELU()); in BuiltinRefOpResolver()
167 AddBuiltin(BuiltinOperator_RELU_N1_TO_1, Register_RELU_N1_TO_1()); in BuiltinRefOpResolver()
168 AddBuiltin(BuiltinOperator_RELU6, Register_RELU6()); in BuiltinRefOpResolver()
169 AddBuiltin(BuiltinOperator_TANH, Register_TANH_REF()); in BuiltinRefOpResolver()
170 AddBuiltin(BuiltinOperator_LOGISTIC, Register_LOGISTIC_REF()); in BuiltinRefOpResolver()
171 AddBuiltin(BuiltinOperator_AVERAGE_POOL_2D, Register_AVERAGE_POOL_REF()); in BuiltinRefOpResolver()
172 AddBuiltin(BuiltinOperator_MAX_POOL_2D, Register_MAX_POOL_REF()); in BuiltinRefOpResolver()
173 AddBuiltin(BuiltinOperator_L2_POOL_2D, Register_L2_POOL_REF()); in BuiltinRefOpResolver()
174 AddBuiltin(BuiltinOperator_CONV_2D, Register_CONVOLUTION_REF()); in BuiltinRefOpResolver()
[all …]
/external/tensorflow/tensorflow/contrib/lite/kernels/
Dregister.cc152 AddBuiltin(BuiltinOperator_RELU, Register_RELU()); in BuiltinOpResolver()
153 AddBuiltin(BuiltinOperator_RELU_N1_TO_1, Register_RELU_N1_TO_1()); in BuiltinOpResolver()
154 AddBuiltin(BuiltinOperator_RELU6, Register_RELU6()); in BuiltinOpResolver()
155 AddBuiltin(BuiltinOperator_TANH, Register_TANH()); in BuiltinOpResolver()
156 AddBuiltin(BuiltinOperator_LOGISTIC, Register_LOGISTIC()); in BuiltinOpResolver()
157 AddBuiltin(BuiltinOperator_AVERAGE_POOL_2D, Register_AVERAGE_POOL_2D()); in BuiltinOpResolver()
158 AddBuiltin(BuiltinOperator_MAX_POOL_2D, Register_MAX_POOL_2D()); in BuiltinOpResolver()
159 AddBuiltin(BuiltinOperator_L2_POOL_2D, Register_L2_POOL_2D()); in BuiltinOpResolver()
160 AddBuiltin(BuiltinOperator_CONV_2D, Register_CONV_2D()); in BuiltinOpResolver()
161 AddBuiltin(BuiltinOperator_DEPTHWISE_CONV_2D, Register_DEPTHWISE_CONV_2D(), in BuiltinOpResolver()
[all …]
/external/libtextclassifier/utils/
Dtflite-model-executor.cc62 resolver->AddBuiltin(tflite::BuiltinOperator_ADD, in RegisterSelectedOps()
66 resolver->AddBuiltin(tflite::BuiltinOperator_CONCATENATION, in RegisterSelectedOps()
70 resolver->AddBuiltin(tflite::BuiltinOperator_CONV_2D, in RegisterSelectedOps()
74 resolver->AddBuiltin(tflite::BuiltinOperator_FULLY_CONNECTED, in RegisterSelectedOps()
78 resolver->AddBuiltin(tflite::BuiltinOperator_L2_NORMALIZATION, in RegisterSelectedOps()
82 resolver->AddBuiltin(tflite::BuiltinOperator_MUL, in RegisterSelectedOps()
84 resolver->AddBuiltin(tflite::BuiltinOperator_RESHAPE, in RegisterSelectedOps()
86 resolver->AddBuiltin(tflite::BuiltinOperator_SOFTMAX, in RegisterSelectedOps()
90 resolver->AddBuiltin(tflite::BuiltinOperator_GATHER, in RegisterSelectedOps()
94 resolver->AddBuiltin(tflite::BuiltinOperator_TRANSPOSE, in RegisterSelectedOps()
[all …]
/external/tensorflow/tensorflow/lite/
Dmutable_op_resolver_test.cc55 resolver.AddBuiltin(BuiltinOperator_ADD, GetDummyRegistration()); in TEST()
67 resolver.AddBuiltin(BuiltinOperator_ADD, GetDummyRegistration()); in TEST()
77 resolver.AddBuiltin(BuiltinOperator_ADD, GetDummyRegistration(), 2, 3); in TEST()
95 resolver.AddBuiltin(BuiltinOperator_ADD, GetDummyRegistration(), 2, 3); in TEST()
138 resolver1.AddBuiltin(BuiltinOperator_ADD, GetDummyRegistration()); in TEST()
139 resolver1.AddBuiltin(BuiltinOperator_MUL, GetDummy2Registration()); in TEST()
142 resolver2.AddBuiltin(BuiltinOperator_SUB, GetDummyRegistration()); in TEST()
143 resolver2.AddBuiltin(BuiltinOperator_ADD, GetDummy2Registration()); in TEST()
Dmutable_op_resolver.h60 void AddBuiltin(tflite::BuiltinOperator op,
Dmutable_op_resolver.cc32 void MutableOpResolver::AddBuiltin(tflite::BuiltinOperator op, in AddBuiltin() function in tflite::MutableOpResolver
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dlogging_op_resolver_test.cc51 base_resolver.AddBuiltin(BuiltinOperator_CONV_2D, &conv_registration); in TEST()
57 base_resolver.AddBuiltin(BuiltinOperator_ADD, &add_registration); in TEST()
84 base_resolver.AddBuiltin(BuiltinOperator_CONV_2D, &conv_registration); in TEST()
90 base_resolver.AddBuiltin(BuiltinOperator_ADD, &add_registration); in TEST()
110 base_resolver.AddBuiltin(BuiltinOperator_CONV_2D, &conv_registration); in TEST()
116 base_resolver.AddBuiltin(BuiltinOperator_ADD, &add_registration); in TEST()
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/
Dall_ops_resolver.cc33 AddBuiltin(BuiltinOperator_DEPTHWISE_CONV_2D, in AllOpsResolver()
35 AddBuiltin(BuiltinOperator_FULLY_CONNECTED, Micro_Register_FULLY_CONNECTED(), in AllOpsResolver()
38 AddBuiltin(BuiltinOperator_SOFTMAX, Micro_Register_SOFTMAX()); in AllOpsResolver()
/external/v8/src/builtins/
Dsetup-builtins-internal.cc186 void SetupIsolateDelegate::AddBuiltin(Builtins* builtins, int index, in AddBuiltin() function in v8::internal::SetupIsolateDelegate
201 AddBuiltin(builtins, i, *placeholder); in PopulateWithPlaceholders()
285 AddBuiltin(builtins, index++, code); in SetupBuiltinsInternal()
289 AddBuiltin(builtins, index++, code); in SetupBuiltinsInternal()
293 AddBuiltin(builtins, index++, code); in SetupBuiltinsInternal()
298 AddBuiltin(builtins, index++, code); in SetupBuiltinsInternal()
304 AddBuiltin(builtins, index++, code); in SetupBuiltinsInternal()
310 AddBuiltin(builtins, index++, code); in SetupBuiltinsInternal()
317 AddBuiltin(builtins, index, code); \ in SetupBuiltinsInternal()
329 AddBuiltin(builtins, index++, code); in SetupBuiltinsInternal()
/external/tensorflow/tensorflow/lite/experimental/micro/
Dmicro_mutable_op_resolver.h32 void AddBuiltin(tflite::BuiltinOperator op, TfLiteRegistration* registration,
Dmicro_mutable_op_resolver.cc45 void MicroMutableOpResolver::AddBuiltin(tflite::BuiltinOperator op, in AddBuiltin() function in tflite::MicroMutableOpResolver
Dmicro_mutable_op_resolver_test.cc53 micro_mutable_op_resolver.AddBuiltin(BuiltinOperator_CONV_2D, &r, 0, 2); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/experimental/c/
Dc_api_experimental.cc33 options->op_resolver.AddBuiltin(static_cast<tflite::BuiltinOperator>(op), in TFL_InterpreterOptionsAddBuiltinOp()
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dops_version.md136 void AddBuiltin(tflite::BuiltinOperator op, TfLiteRegistration* registration,
147 AddBuiltin(BuiltinOperator_CONV_2D, Register_CONV_2D());
153 AddBuiltin(BuiltinOperator_CONV_2D, Register_CONV_2D(), 1, 2);
Dops_custom.md131 implementations of builtins by using the `AddBuiltin`.
/external/v8/src/
Dsetup-isolate.h47 static void AddBuiltin(Builtins* builtins, int index, Code* code);
/external/tensorflow/tensorflow/lite/tools/
Dverifier_test.cc67 resolver_.AddBuiltin(iter, &fake_op_); in TfLiteFlatbufferModelBuilder()