Searched refs:CheckedLog2 (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/ |
D | add.cc | 145 CheckedLog2(input1->params.scale, &input1_scale_log2_rounded); in Prepare() 150 CheckedLog2(input2->params.scale, &input2_scale_log2_rounded); in Prepare() 155 CheckedLog2(output->params.scale, &output_scale_log2_rounded); in Prepare()
|
D | sub.cc | 162 CheckedLog2(input1->params.scale, &input1_scale_log2_rounded); in PrepareInt16SubOp() 167 CheckedLog2(input2->params.scale, &input2_scale_log2_rounded); in PrepareInt16SubOp() 172 CheckedLog2(output->params.scale, &output_scale_log2_rounded); in PrepareInt16SubOp()
|
D | activations.cc | 154 CheckedLog2(input->params.scale, &input_scale_log2_rounded)); in TanhPrepare() 158 context, CheckedLog2(output->params.scale, &output_scale_log2_rounded)); in TanhPrepare() 217 CheckedLog2(input->params.scale, &input_scale_log2_rounded)); in SigmoidPrepare() 221 context, CheckedLog2(output->params.scale, &output_scale_log2_rounded)); in SigmoidPrepare()
|
D | lstm.cc | 779 if (!CheckedLog2(state_out->params.scale, &state_scale_log2_rounded)) { in Eval()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.h | 276 bool CheckedLog2(const float x, int* log2_result);
|
D | quantization_util.cc | 357 bool CheckedLog2(const float x, int* log2_result) { in CheckedLog2() function
|