Home
last modified time | relevance | path

Searched refs:fq_op (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dread_array_minmax_and_narrow_range_from_fake_quant.cc31 const FakeQuantOperator& fq_op, in ApplyAttrsToArray() argument
36 const MinMax& minmax = *fq_op.minmax; in ApplyAttrsToArray()
43 if (fq_op.narrow_range && !annotated_array.narrow_range) { in ApplyAttrsToArray()
62 auto* fq_op = static_cast<FakeQuantOperator*>(fakequant_base_op); in Run() local
64 if (!fq_op->minmax) { in Run()
72 CHECK(fq_op->minmax); in Run()
73 CHECK_EQ(1, fq_op->inputs.size()); in Run()
76 changed |= ApplyAttrsToArray(this, model, *fq_op, fq_op->inputs[0]); in Run()
77 changed |= ApplyAttrsToArray(this, model, *fq_op, fq_op->outputs[0]); in Run()
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc431 const auto& fq_op = static_cast<const FakeQuantOperator&>(*op_signature.op); in GetVersion() local
434 op_sig.options.fakequant.narrow_range = fq_op.narrow_range; in GetVersion()