- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for QuantizationUnit (0.43 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto
// contains the scope of the unit, and the quantization method for each unit. // NEXT ID: 7 message UnitWiseQuantizationSpec { // Quantization unit granularity. // NEXT ID: 4 message QuantizationUnit { // Type of the op, ex: Conv2D, MatMul, Einsum... The node_name field can // be omitted if it is intended to match all nodes with this type. string op_type = 1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 19 06:31:19 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc
// filled and node_name is always set to "_empty_node". std::pair<std::string, std::string> GetFuncNameAndNodeName( TF::PartitionedCallOp call_op, const FlatSymbolRefAttr &f_attr) { std::optional<QuantizationUnitLoc::QuantizationUnit> quant_unit = FindQuantizationUnitFromLoc(call_op->getLoc()); return std::make_pair(quant_unit->func_name(), quant_unit->node_name()); } std::pair<std::string, std::string> GetFuncNameAndNodeName(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
// Set the location of call op to QuantizationUnitLoc if found. Location call_op_loc = location; for (Operation* op : cloning_ops) { std::optional<QuantizationUnitLoc::QuantizationUnit> unit = FindQuantizationUnitFromLoc(op->getLoc()); if (unit.has_value()) { call_op_loc = QuantizationUnitLoc(builder.getContext(), unit.value()); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
# Verify if quant_unit.pb file was created correctly. quant_unit_file_path = os.path.join(log_dir_path, folder, 'quant_unit.pb') quant_unit = ( quant_opts_pb2.UnitWiseQuantizationSpec.QuantizationUnit.FromString( open(quant_unit_file_path, 'rb').read() ) ) self.assertEqual(quant_unit.node_name, 'Conv2D')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0)