Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getFunctionType (0.67 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      auto module = op->getParentOfType<ModuleOp>();
      auto function =
          dyn_cast_or_null<func::FuncOp>(SymbolTable::lookupSymbolIn(module, func));
      FunctionType function_ty = function.getFunctionType();
    
      for (auto arg_in : llvm::zip(args, function_ty.getInputs())) {
        if (std::get<0>(arg_in).getType() != std::get<1>(arg_in)) {
          // Argument type and input type mismatch.
          return false;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top