- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for InitializeOperandState (0.45 sec)
-
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
: func_(func), target_spec_(spec) { llvm::DenseMap<Value, int> value_to_state; func.walk([&](quantfork::QuantizeRegionOp op) { for (int i = 0, e = op.getNumOperands(); i != e; ++i) { states_manager_.InitializeOperandState(op, i, &value_to_state); } for (int res = 0, e = op.getNumResults(); res != e; ++res) { states_manager_.InitializeResultState(op, res, &value_to_state); } }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
states_.push_back({quantized_type, immutable}); arg_states_[arg] = next_state_index; cached->second = next_state_index; } void QuantizationDriver::InitializeOperandState(Operation* op, const int index, const Value value) { InitializeStateForValue(op, index, value, /*as_result=*/false, states_,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.h
// cached, uses the cached result without creating new entry in the state // vector. Otherwise, allocate a new entry in the state vector. void InitializeOperandState(quantfork::QuantizeRegionOp op, int index, llvm::DenseMap<Value, int> *cache); // Sets the state of the index-th result of the op. If this result is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h
// Sets the state of the index-th operand of the op. If this operand is // cached, uses the cached result without creating new entry in the state // vector. Otherwise, allocate a new entry in the state vector. void InitializeOperandState(Operation* op, int index, Value value); // Sets the state of the index-th result of the op. If this result is cached, // uses the cached result without creating new entry in the state vector.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:42:17 UTC 2024 - 16.8K bytes - Viewed (0)