Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetResultRequantizeStates (0.27 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      QuantState& state = GetResultQuantState(op, result_index);
      if (state.params == quantized_type) {
        return false;
      }
      if (!state.IsEmpty()) {
        RequantizeStates& rescales = GetResultRequantizeStates(op, result_index);
        RequantizeState& rescale = rescales.emplace_back();
        rescale.pos = RequantizeState::ON_INPUT;
        rescale.params = quantized_type;
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

        return rescale_states_[operand_states_[{op, index}]];
      }
    
      // Returns the states of the index-th result of the op.
      RequantizeStates& GetResultRequantizeStates(Operation* op, const int index) {
        return rescale_states_[result_states_[{op, index}]];
      }
    
      // Returns the states of the arg.
      RequantizeStates& GetArgRequantizeStates(BlockArgument arg) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top