- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for QuantizationUnit (0.25 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc
#include "mlir/Support/LLVM.h" // from @llvm-project namespace mlir { namespace quant { namespace { // Prefix and suffix to the QuantizationUnit string representation. constexpr std::string_view kQuantizationUnitPrefix = "QuantizationUnit("; constexpr std::string_view kQuantizationUnitSuffix = ")"; // Concatenates node name and func name with a "@" separator.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc
} else { for (Location child_loc : locations) { FindQuantizationUnitsRecursively(child_loc, units); } } } // Finds the QuantizationUnit from location. std::optional<QuantizationUnit> FindQuantizationUnit(Operation* op) { SmallVector<QuantizationUnit> quant_units; FindQuantizationUnitsRecursively(op->getLoc(), quant_units); if (quant_units.size() == 1) { return *quant_units.begin(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc
} // `DumpTensor` op saves entire value of input to as a tensor proto into a // specified directory and filename. When enabled is set to false, op is // disabled and won't save any value. It also creates `QuantizationUnit` proto // with `func_name` and `node_name` to identify the op. REGISTER_OP("DumpTensor") .Input("tensor_data: T") .Attr("log_dir_path: string") .Attr("file_name: string") .Attr("T: type")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 03:12:17 UTC 2024 - 4.8K bytes - Viewed (0) -
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)