- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SetResultParams (0.14 sec)
-
tensorflow/compiler/mlir/lite/quantization/quantization_context.h
// Update the quantization parameter for certain result of the op. By this // method, the quantization parameter is propagated to all the users of the // result as well. bool SetResultParams(Operation *op, int index, QuantParams params) { return states_manager_.SetResultParams(op, index, params); } // Update the quantization parameter for certain operand of the op. By this
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/lite/quantization/quantization_context.cc
for (int res = 0, e = op->getNumResults(); res != e; ++res) { auto ele = op->getResult(res).getType().cast<ShapedType>().getElementType(); if (ele.isa<FloatType>() && SetResultParams(op, res, params)) { auto users = op->getResult(res).getUsers(); *changed |= !users.empty(); new_items->append(users.begin(), users.end()); } } return success(); }
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
} if (const auto quant_type = mlir::dyn_cast_or_null<QuantizedType>(final_type); quant_type != nullptr) { return SetResultParams(op, /*result_index=*/0, quant_type); } return false; } bool QuantizationDriver::SetResultParams(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) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h
// any quantization parameters have been propagated, a requantize will // happen on the input of propagated quantization. Returns `true` if internal // state has been modified. bool SetResultParams(Operation* op, int result_index, QuantizedType quantized_type); // Sets the quantization parameters of the operand to `quantized_type`. If any
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:42:17 UTC 2024 - 16.8K bytes - Viewed (0)