Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for int8_input (0.1 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      return folded_results.front();
    }
    
    // Calculates zero-point offset by reducing the weight and multiply it with zp.
    // Originally, we have:
    //   output = (int8_input - input_zp) * (int8_weight - weight_zp)
    // So, offset = input_zp * int8_weight + weight_zp * int8_input
    // - input_zp * weight_zp.
    // This function calculates the `offset` value mentioned above. Note that the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top