Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetOperandRequantizeState (0.2 sec)

  1. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

        for (int i = 0, e = op.getNumOperands(); i != e; ++i) {
          auto &state = states_manager_.GetOperandQuantState(op, i);
          auto &requantize = states_manager_.GetOperandRequantizeState(op, i);
          if (state.IsEmpty() && requantize.pos == RequantizeState::NO_REQUANTIZE) {
            input_specs.push_back(original_input_specs[i]);
          } else if (requantize.pos == RequantizeState::ON_OUTPUT) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        QuantState &GetResultQuantState(Operation *op, int index) {
          return states_[result_states_[{op, index}]];
        }
    
        // Returns the state of the index-th operand of the op.
        RequantizeState &GetOperandRequantizeState(Operation *op, int index) {
          return rescale_states_[operand_states_[{op, index}]];
        }
    
        // Returns the state of the index-th result of the op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top