Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc1465 const double exp_sample_grain = 1.0 / 16.0; in convertSoftmaxOp() local
1466 auto exp_func = [exp_sample_grain](int32_t x) -> int32_t { in convertSoftmaxOp()
1467 double v = static_cast<double>(x) * exp_sample_grain; in convertSoftmaxOp()
1477 in_quant_type.getScale() * 128.0 / exp_sample_grain, 0, 0); in convertSoftmaxOp()