- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for LLVM_DEBUG (0.13 sec)
-
tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.cc
LLVM_DEBUG(llvm::dbgs() << "Expected a uniform quantized type. Got: " << type << ".\n"); return false; } if (!IsStorageTypeI8(quantized_per_axis_type)) { LLVM_DEBUG(llvm::dbgs() << "Expected an i8 storage type. Got: " << quantized_per_axis_type << ".\n"); return false; } if (!IsExpressedTypeF32(quantized_per_axis_type)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
LogicalResult MatchZeroPointsOperand(Value zero_points) { if (!zero_points) { LLVM_DEBUG(llvm::dbgs() << "Zero point value is empty.\n"); return failure(); } auto zero_points_type = mlir::dyn_cast_or_null<TensorType>(zero_points.getType()); if (!zero_points_type) { LLVM_DEBUG(llvm::dbgs() << "Zero point value should be a tensor type. Got: "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
if (kernel_input_feature_dim != 2) { LLVM_DEBUG(llvm::dbgs() << "Expected kernel input feature == 2. Got: " << kernel_input_feature_dim << ".\n"); return failure(); } const int64_t kernel_output_feature_dim = dimension_numbers.getKernelOutputFeatureDimension(); if (kernel_output_feature_dim != 3) { LLVM_DEBUG(llvm::dbgs() << "Expected kernel output feature == 3. Got: "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
addConversion([](Type type) { if (type.getDialect().getNamespace() == vhlo::VhloDialect::getDialectNamespace()) { return type; } LLVM_DEBUG(llvm::dbgs() << "Invalid type: " << type << '\n'); return Type(); }); addConversion([](stablehlo::TokenType token) { return vhlo::TokenV1Type::get(token.getContext()); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc
#include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tsl/platform/protobuf.h" // IWYU pragma: keep // To be used with LLVM_DEBUG. #define DEBUG_TYPE "stablehlo_opt_quant_spec" namespace mlir::quant::stablehlo { namespace { using ::mlir::stablehlo::DotGeneralOp; using ::stablehlo::quantization::Method;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
llvm::dbgs() << " " << *arg; } } }; (void)debug_clustered_ops; LLVM_DEBUG({ llvm::dbgs() << "\n\n--- Try to merge cluster:\n"; debug_clustered_ops(src_root); llvm::dbgs() << "\n--- With cluster:\n"; debug_clustered_ops(dst_root); LLVM_DEBUG(llvm::dbgs() << "\n--- Diagnostics:\n"); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
if (!ret) continue; LLVM_DEBUG(ret.print(llvm::dbgs() << "\ncomputed result = ")); // If worklist is empty, then this is the root query op. if (worklist.empty()) { LLVM_DEBUG(llvm::dbgs() << "[root node]\n"); if (auto dea = mlir::dyn_cast<DenseIntElementsAttr>(ret)) { if (dea.getNumElements() != 1) { LLVM_DEBUG(llvm::dbgs() << "Unexpected number of elements\n");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc
TextFormat::Printer printer; printer.SetSingleLineMode(true); std::string method_txtpb; if (!printer.PrintToString(method, &method_txtpb)) { LLVM_DEBUG(llvm::dbgs() << "Failed to convert Method to textproto\n."); return failure(); } // Single line mode might have an extra space at the end, due to the internal // details of `Printer`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
// Use the result's state if it is immutable and it is the only one result. if (op->getNumResults() == 1 && immutable_results_num == 1) { return immutable_states.back()->params; } LLVM_DEBUG(llvm::dbgs() << "Quantization parameters are not collected in an ideal place. " "Has to fallback values which might introduce errors.\n");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 13.1K bytes - Viewed (0)