Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for add_resource_argument (0.44 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

      llvm::SmallVector<ResourceInfo, 4> resources(function.getNumArguments());
      auto argument_types =
          llvm::to_vector<4>(function.getFunctionType().getInputs());
      bool has_resources = false;
      auto add_resource_argument = [&](BlockArgument arg,
                                       TF::ResourceType resource_type) {
        Type arg_type = resource_type.getSubtypes().front();
        arg.setType(arg_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top