- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for emitWarning (0.38 sec)
-
tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc
if (array_attr == nullptr || array_attr.size() != N) { return func->emitWarning() << "'" << attr_name << "' attribute for " << kMaxUnpooling << " must be set and has size of " << N; } for (Attribute integer_attr : array_attr.getValue()) { IntegerAttr value = mlir::dyn_cast<IntegerAttr>(integer_attr); if (!value) { return func->emitWarning() << "'" << attr_name << "' attribute for " << kMaxUnpooling
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/nms_utils.cc
if (func_.getNumArguments() < 5) { return func_.emitWarning() << "Invalid number of arguments to " "non_max_suppression_padded_v2 (need at least 5): " << func_.getNumArguments(); } if (func_.getFunctionType().getNumResults() != 2) { return func_.emitWarning() << "Invalid number of results from "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc
} LogicalResult VerifySignature() { if (func_.getNumArguments() != 2) { return func_.emitWarning() << "Invalid number of arguments in the embedding " "matmul composite function"; } if (func_.getFunctionType().getNumResults() != 1) { return func_.emitWarning() << "Invalid number of results in the " "embedding matmul composite function";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_session_initializer_to_function.cc
const char *name = "session_initializer"; // In the (unlikely) case of there already being a session initializer // function, bail out. if (SymbolTable::lookupSymbolIn(module, name)) { module->emitWarning("session_initializer function already exists"); session_initializer.erase(); return; } auto init = builder.create<func::FuncOp>( module.getLoc(), name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 05:03:09 UTC 2023 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/check_accepted_ops_pass.cc
} else if (IsAcceptedOp(dialect_name, op_name, optional_accepted_dialects_)) { // If the given op is in the `optional_accepted_dialects_`, let's warn it. op->emitWarning() << op->getName().getStringRef() << " op is temporarily " << "accepted, but it should be removed in the end."; } else { // The other ops are not accepted. return signalPassFailure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 24 21:06:11 UTC 2023 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc
if ((status & (~APFloat::opInexact)) != APFloat::opOK) { op->emitWarning() << "Could not convert batch_norm epsilon to target fp " "type: opStatus = " << static_cast<int>(status); return nullptr; } if (loses_info) { op->emitWarning("Conversion of epsilon loses precision"); } epsilon_attr = b.getFloatAttr(fp_type, epsilon_float);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/remove_sharding_custom_call.cc
RewritePatternSet patterns(&ctx); populateWithGenerated(patterns); FrozenRewritePatternSet frozen_patterns(std::move(patterns)); if (failed(applyPatternsAndFoldGreedily(func_op, frozen_patterns))) { func_op.emitWarning() << "Failed to converge " << RemoveShardingCustomCallPass::getArgumentName(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 07:04:47 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize.cc
// There are cases where no rewrites happen even if a pattern matches, // causing this to result in a convergence failure. Consider this as a // best-effort. module_op.emitWarning("Failed to converge pattern at QuantizePass."); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 07:08:19 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc
return success(); } if (mlir::isa<::mlir::FloatAttr>(attr)) { fbb->Double(key, mlir::dyn_cast<mlir::FloatAttr>(attr).getValueAsDouble()); return success(); } return op->emitWarning("serialization not supported for : ") << key; } TFL::CustomOp BuildCustomOp(stablehlo::CompositeOp composite, const std::string& custom_option_buffer) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc
// concat ops. func.walk([&](ConcatenationOp concat) { if (concat.getOutput().hasOneUse() && Quantized(*concat.getOutput().user_begin())) { return; } concat.emitWarning( "Missing quantization parameter on the output might introduce " "quantization error!"); }); // Check for (Quant (Dequant $in), $qA) "qdq" pairs that couldn't be
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0)