Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

              use->set(map_entry.first->getSecond().getResult());
              LLVM_DEBUG(llvm::dbgs() << "Re-use sunk constant " << use->get()
                                      << "\n     in " << use->get() << "\n");
              if (constant.use_empty()) const_op.erase();
              return;
            }
            if (constant.hasOneUse()) {
              LLVM_DEBUG(llvm::dbgs() << "Moved constant " << constant << "\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc

    };
    }  // end anonymous namespace
    
    void FunctionalToExecutorDialectConversion::runOnOperation() {
      auto func = getOperation();
      if (func.isExternal()) return;
      if (!llvm::hasSingleElement(func)) {
        LLVM_DEBUG(llvm::dbgs() << "Expect single block function, skip conversion "
                                   "to tf_executor dialect\n");
        return;
      }
      auto loc = func.getLoc();
      mlir::Block& body = func.front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc

    #include "mlir/Pass/PassOptions.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h"
    
    // Required when using LLVM_DEBUG macro.
    #define DEBUG_TYPE "mark-functions-noinline"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    // Name of the boolean attribute indicating whether the function can be
    // inlined or not.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 18 02:52:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc

            if (!result_from_use.hasOneUse()) return nullptr;
    
            device_return = result_from_use.use_begin()->getOwner();
            if (!device_return) return nullptr;
          }
        } else {
          LLVM_DEBUG(llvm::dbgs()
                     << "No supported special parent found, using "
                        "tf_device.cluster_func outputs directly to search for "
                        "consuming AssignVariableOp.\n");
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
Back to top