Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for LLVM_DEBUG (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc

        if (!call_op.getF().getRootReference().getValue().starts_with(
                kNestedModule))
          return WalkResult::advance();
        // This is a call we need to inline!
        LLVM_DEBUG(llvm::dbgs()
                   << "Found call to inline: " << *call_op.getOperation() << "\n");
    
        auto call_interface = cast<CallOpInterface>(call_op.getOperation());
        auto called_func =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      if (op_iterator_range.empty()) {
        LLVM_DEBUG(llvm::dbgs() << "Function does not have "
                                << GemmStyleOp::getOperationName() << " op.\n");
        return failure();
      }
      if (!isa<RankedTensorType>(
              (*op_iterator_range.begin()).getResult().getType())) {
        LLVM_DEBUG(llvm::dbgs() << GemmStyleOp::getOperationName()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

          }
        }
    
        auto emplace_res = var_access_info.per_resource_info.try_emplace(
            resource, VariableAccessInfo());
        if (!emplace_res.second) {
          LLVM_DEBUG(llvm::dbgs()
                     << "Skipping execute that has multiple reads of a variable: "
                     << execute << "\n");
          var_access_info.per_resource_info.shrink_and_clear();
          return var_access_info;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

      if (!result.has_value()) return success();
      llvm::StringRef cluster_name = result.value();
    
      // We found a _replication_info, let's build an island for the full cluster!
      LLVM_DEBUG(llvm::dbgs() << "Processing candidate island: "
                              << *island.getOperation() << "\n");
    
      // Collect the islands to merge together in this new cluster starting with the
      // given island.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top