- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for VerifyTflRuntimeConstraints (0.41 sec)
-
tensorflow/compiler/mlir/lite/converter_gen.cc
if (!op.getTrait("TflRuntimeVerifyOpInterface::Trait")) continue; mlir::tblgen::FmtContext verify_ctx; os << "::mlir::LogicalResult " << op.getCppClassName() << "::VerifyTflRuntimeConstraints(::mlir::Operation *op, bool " "emit_error_on_verify_fail) {\n"; os << " auto top = cast<" << op.getCppClassName() << ">(op); (void)top;\n"; verify_ctx.addSubst("_op", "top");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
target.addDynamicallyLegalDialect<TensorFlowLiteDialect>([](Operation* op) { auto tfl_op = dyn_cast_or_null<TflRuntimeVerifyOpInterface>(op); if (!tfl_op) return false; return succeeded(tfl_op.VerifyTflRuntimeConstraints( op, /*emit_error_on_verify_fail=*/false)); }); } else { target.addLegalDialect<TensorFlowLiteDialect>(); } RewritePatternSet stage1Patterns(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0)