Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for emitWarning (0.41 sec)

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

      }
      if (cluster_succ.empty()) {
        // TODO (b/269195256#comment16): Change to error after resolving issue
        // with test. Will fix it after the upstream code is fixed.
        op->emitWarning("TF2XLA TPU bridge input check: cluster op = ")
            << parent->getName() << " with cluster = " << cluster
            << " has successor as non cluster op " << op->getName();
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

                    builder->getNamedAttr(key, conv_dimension_numbers_attr);
                attrs.push_back(named_attr);
              }
              break;
            }
            default: {
              emitWarning(builder->getUnknownLoc(),
                          "seralization not supported for : ")
                  << key;
              break;
            }
          }
        }
        return attrs;
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

                   DeferActivationTransposeForMaxPoolReduceWindowOp,
                   DeferActivationTransposeForMaxOp>(&ctx);
      if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) {
        func_op->emitWarning() << "Failed to converge patterns: " << getArgument();
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc

      return true;
    }
    
    // Emits dependency warning for `op`.
    void EmitDependencyWarningForOp(Operation* op, int path_idx, int node_idx,
                                    absl::string_view pos_str) {
      op->emitWarning("unexpected control dependency path: ")
          << "path " << path_idx << ", node " << node_idx << " (" << pos_str << ")";
    }
    
    // Constructs path from `source_op` to `target_op` and emits warnings.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

                         element_type.isF64()) {
                rand_val = mlir::FloatAttr::get(element_type,
                                                std::rand() * 1.0 / RAND_MAX);
    
              } else {
                inst.emitWarning()
                    << "Skipping splat conversion for "
                    << "an unsupported attribute type " << element_type;
                continue;
              }
              auto new_attr = mlir::DenseElementsAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

        if (num_bits <= 8 && range >= 10.0) {
          op.emitWarning()
              << "Tensor range is too wide to be quantized. Use tf.clip_by_value "
                 "or tf.relu6 to narrow the tensor range. Range: "
              << range << ", bit width: " << num_bits;
        }
        if (std::abs(max - min) < kNearZeroTolerance) {
          op.emitWarning() << "Tensor range (" << min << ", " << max
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

        llvm::SmallVectorImpl<Operation *> *new_items, bool *changed) {
      auto signature = GetSignature(op);
      auto spec = target_spec_.GetKernelSpec(op.getLogicalKernel(), signature);
      if (!spec.has_value()) {
        op.emitWarning(
            "Couldn't find kernel from the registration for quantization.");
        return success();
      }
      switch (spec->type) {
        case ScaleConstraintType::OutputInputFreeScale: {
          // no propagation.
    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/lite/flatbuffer_export.cc

              }
              flex_builder->EndVector(start, /*typed=*/true, /*fixed=*/false);
            } else {
              emitWarning(loc,
                          "ignoring unsupported type in list attribute with key: ")
                  << key;
            }
            break;
          default:
            emitWarning(loc, "ignoring unsupported attribute type with key: ")
                << key;
            break;
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          continue;
        } else if (!defining_op) {
          // One example for this case is when `curr_operand` is a function
          // argument.
          owning_op->emitWarning()
              << "Operand idx (zero-based): " << curr_operand->getOperandNumber()
              << " does not have a defining op and cannot be duplicated.";
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

        auto qd_arg_def_q_op =
            dyn_cast_or_null<quantfork::QuantizeCastOp>(dq_arg.getDefiningOp());
        if (!qd_arg_def_q_op) {
          return;
        }
    
        qd_arg_def_q_op.emitWarning()
            << " quantizer's output has another quantizer (" << q_op.getLoc()
            << ") as consumer - intentional?";
      });
    }
    
    // Merges consecutive QuantizeCast ops. For example, the following case:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top