- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for UNIFORM_QUANTIZED (0.23 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
'target_opset': quant_opts_pb2.UNIFORM_QUANTIZED, 'input_shape_dynamic': False, 'enable_per_channel_quantization': False, }, { 'testcase_name': 'dilation_with_bias_and_bn_and_relu6_to_uq', 'activation_fn': nn_ops.relu6, 'has_bias': True, 'has_batch_norm': True, 'target_opset': quant_opts_pb2.UNIFORM_QUANTIZED,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc
*this, "target-opset", llvm::cl::init(OpSet::UNIFORM_QUANTIZED), llvm::cl::desc("Choose target opset."), llvm::cl::values( clEnumValN(OpSet::TF, "TF", "Uses TF ops that mimic quantization behavior"), clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"), clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED", "Uses TF Uniform Quantized ops"))};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc
clEnumValN(OpSet::TF, "TF", "Uses TF ops that mimic quantization behavior"), clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"), clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED", "Uses TF Uniform Quantized ops"))}; Option<int64_t> min_num_elements_for_weights_{ *this, "min-num-elements-for-weights", llvm::cl::init(0),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
clEnumValN(OpSet::TF, "TF", "Uses TF ops that mimic quantization behavior"), clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"), clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED", "Uses TF Uniform Quantized ops"))}; Option<bool> enable_per_channel_quantization_{ *this, "enable-per-channel-quantization", llvm::cl::init(false),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/quantize_passes.cc
std::optional<const absl::string_view> mlir_dump_file_prefix) { pm.addNestedPass<mlir::func::FuncOp>( mlir::quant::CreateConvertFakeQuantToQdqPass()); if (quantization_options.op_set() == OpSet::UNIFORM_QUANTIZED) { pm.addNestedPass<mlir::func::FuncOp>( mlir::TF::CreateUnrollBatchMatMulPassPass()); } pm.addPass(mlir::TF::CreateTFShapeInferencePass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
clEnumValN(OpSet::TF, "TF", "Uses TF ops that mimic quantization behavior"), clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"), clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED", "Uses TF Uniform Quantized ops"))}; }; // Check if given indices in `val1` has same number of elements as given // indices in `val2`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
clEnumValN(OpSet::TF, "TF", "Uses TF ops that mimic quantization behavior"), clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"), clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED", "Uses TF Uniform Quantized ops"))}; // Initialize for tests. void initializeForTest() { if (!test_mode_) return;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc
// Constructor used by the PassRegistration and enforce int8 quantization. // This is only used by test. explicit PrepareQuantizeDRQPass() : op_set_(OpSet::UNIFORM_QUANTIZED) { quant_specs_.inference_type = tensorflow::DT_QINT8; } // Constructor used by manually creating the pass. explicit PrepareQuantizeDRQPass(const QuantizationSpecs& quant_specs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py
quantization_options.enable_per_channel_quantization = False if quantization_options.enable_per_channel_quantization and not ( ( quantization_options.op_set == quant_opts_pb2.OpSet.UNIFORM_QUANTIZED or quantization_options.quantization_method.preset_method == _PresetMethod.METHOD_STATIC_RANGE_WEIGHT_ONLY_INT8 ) or ( quantization_options.op_set
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 34.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
quantization_options.mutable_quantization_method()->set_preset_method( quantization::QuantizationMethod::METHOD_DYNAMIC_RANGE_INT8); quantization_options.set_op_set(quantization::UNIFORM_QUANTIZED); quantization_options.set_min_num_elements_for_weights( kWeightsMinNumElementsDefault); quantization::AddQuantizePtqDynamicRangePasses(pass_manager,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0)