Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TflRuntimeVerifyOpInterface (0.19 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

        >,
      ];
    }
    
    //===----------------------------------------------------------------------===//
    // TFL runtime type verification of operand/result types.
    
    def TFL_RuntimeVerification : OpInterface<"TflRuntimeVerifyOpInterface"> {
      let description = [{
        Interface to verify TFLite runtime op verification.
    
        This verifies that the converted TFLite ops has operand/result type
        supported by the TFLite runtime.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. 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)
  3. 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