- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PropagateParamsAndReturnIfChanged (0.49 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver_test.cc
GetDefaultQuantScaleSpec, /*infer_tensor_range=*/true, /*legacy_float_scale=*/false, /*is_qdq_conversion=*/false); quantization_driver.Initialize(); ASSERT_TRUE(quantization_driver.PropagateParamsAndReturnIfChanged()); EXPECT_THAT(quantization_driver.GetArgs(), Not(IsEmpty())); for (const auto& arg : quantization_driver.GetArgs()) { const QuantState& state = quantization_driver.GetArgQuantState(arg);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
SetupAllStates(); } // Propagates the quantization parameters to the operands, results, and biases. // TODO: b/323478683 - Do not use while loop to handle this logic. bool QuantizationDriver::PropagateParamsAndReturnIfChanged() { // TODO: b/323478683 - Use a typed indicator instead of a bool value. bool changed = false; while (!work_list_.empty()) { Operation* op = work_list_.back(); work_list_.pop_back();
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
void Run(); // Sets up the states for all the op results in the function. void Initialize(); // Propagates the quantization parameters across all the ops. bool PropagateParamsAndReturnIfChanged(); // Inserts the Quantize and Dequantize ops according to the propagation // result. void Finalize(); SmallVector<BlockArgument, 4> GetArgs() { return args_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:42:17 UTC 2024 - 16.8K bytes - Viewed (0)