Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      auto output = std::make_unique<Graph>((*graph)->op_registry());
      TF_RETURN_WITH_CONTEXT_IF_ERROR(
          EncapsulateSubgraphsInFunctions(
              kXlaClusterIdAttr, **graph, RewriteSubgraph,
              /*reuse_existing_functions=*/true, &output, flib_def),
          "EncapsulateXlaComputationsPass failed");
      graph->swap(output);
      return absl::OkStatus();
    }
    
    /*static*/ Status EncapsulateXlaComputationsPass::BuildXlaLaunchOps(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K 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