Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddOperandToList (0.21 sec)

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

        for (Operation* user : op->getResult(index).getUsers()) {
          work_list_.push_back(user);
        }
      }
    
      // Adds the defining op of index-th operand of op to the work list.
      void AddOperandToList(Operation* op, const int index) {
        if (Operation* operand_op = op->getOperand(index).getDefiningOp();
            operand_op != nullptr) {
          work_list_.push_back(operand_op);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

        rescale.pos = RequantizeState::ON_OUTPUT;
        rescale.params = quantized_type;
        rescale.users.emplace_back(op, operand_index);
        return true;
      }
    
      state.params = quantized_type;
      AddOperandToList(op, operand_index);
      return true;
    }
    
    void QuantizationDriver::QuantizeOpResult(Operation* op, const int result_index,
                                              const QuantizedType quantized_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
Back to top