Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reuse_existing_functions (0.44 sec)

  1. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

      std::unique_ptr<Graph> graph_out;
      s = EncapsulateSubgraphsInFunctions("_encapsulate", *graph,
                                          /*rewrite_subgraph_fn=*/{},
                                          /*reuse_existing_functions=*/false,
                                          &graph_out, lib_def.get());
      if (!s.ok()) return s;
    
      std::unordered_map<string, XlaClusterInfo> clusters;
      for (const auto& func : encapsulated_functions) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

            new_func_name);
        TF_RETURN_IF_ERROR(EncapsulateSubgraphsInFunctions(
            outside_compilation_attr_name, *fbody->graph, *rewrite_fn,
            /*reuse_existing_functions=*/true, &graph_out, fld));
    
        // Replace outside_compilation function nodes with HostCompute ops.
        std::vector<Node*> outside_compilation_nodes;
        for (Node* n : graph_out->nodes()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
Back to top