Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for func_arguments_ (0.38 sec)

  1. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.h

        return func_arguments_;
      }
      const llvm::SmallVector<Value>& FuncOutputs() const { return func_outputs_; }
    
     private:
      // Compute once at construction and save as field.
      const llvm::SmallVector<Value> func_arguments_;
      const llvm::SmallVector<Value> func_outputs_;
    };
    
    // Helper data structure for output parameters to `ExtractSubgraphToFunc`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 18:49:43 UTC 2022
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      IRMapping values_in_scope;
      // Function arguments can appear as operands, so they clone should
      // be aware of them.
      assert(subgraph.FuncArguments().size() == new_func.getNumArguments());
      for (int i = 0; i < subgraph.FuncArguments().size(); ++i) {
        Value original_value = subgraph.FuncArguments()[i];
        Value new_func_arg = new_func.getArgument(i);
        values_in_scope.map(original_value, new_func_arg);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top