- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for kNoFallbackAttr (0.22 sec)
-
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
func.walk([&](Operation *op) { if (op->getDialect() != tf_dialect) return; if (IsAllowListedOp(op)) return; if (op->hasAttr(kNoFallbackAttr)) { op->removeAttr(kNoFallbackAttr); return; } if (!ConvertToFlexOp(op)) signalPassFailure(); }); } } // namespace internal
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_patterns.td
// Marks the op as no fallback. def MarkNoFallback : NativeCodeCall<"SetNoFallbackAttr($_builder, $0)">; def NoFallbackAttrNotSet : Constraint<CPred< "!$0.getDefiningOp()->hasAttr(kNoFallbackAttr)">>; class FloatValueEquals<string val> : Constraint<CPred< "FloatValueEquals($0, " # val # ")">>; class RankEquals<string rank> : Constraint<CPred< "RankEquals($0, " # rank # ")">>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 29 21:02:21 UTC 2022 - 3.2K bytes - Viewed (0)