Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for LLVM_DEBUG (0.13 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top