Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for LLVM_DEBUG (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

        } else if (auto identity = dyn_cast<IdentityOp>(op)) {
          LLVM_DEBUG(dump("Visiting ", identity));
          // Try to construct IdentityOp's attribute from recorded assignment.
          if (!GetDeviceAttr(op).empty()) return WalkResult::advance();
          for (auto output : filter_resources(op->getResults())) {
            LLVM_DEBUG(llvm::dbgs() << "  Processing output #"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    // Required to use LLVM_DEBUG macro.
    #define DEBUG_TYPE "quant-duplicate-shape-determining-constants"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    // This pass duplicates constants that affect or determine the shape of a tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. 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)
  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/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)
  7. 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)
  8. 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