Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TflRuntimeVerifyOpInterface (0.25 sec)

  1. tensorflow/compiler/mlir/lite/converter_gen.cc

      llvm::sort(defs, LessRecord());
    
      // Iterate through all the ops defined.
      for (const auto *def : defs) {
        mlir::tblgen::Operator op(*def);
        if (!op.getTrait("TflRuntimeVerifyOpInterface::Trait")) continue;
    
        mlir::tblgen::FmtContext verify_ctx;
        os << "::mlir::LogicalResult " << op.getCppClassName()
           << "::VerifyTflRuntimeConstraints(::mlir::Operation *op, bool "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      target.addLegalOp<QConstOp>();
      if (run_tfl_runtime_verification_) {
        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 {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top