Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReplaceNode (0.24 sec)

  1. tensorflow/compiler/jit/encapsulate_util.cc

        // Replace `e->dst()` because its input node changed.
        NodeDef new_def = dst->def();
        *new_def.mutable_input(dst_input) = placeholder_node->name();
        TF_ASSIGN_OR_RETURN(Node * dst_replace_node, ReplaceNode(g, dst, new_def));
    
        // Other edge in `edges` might have `e->dst()` as src or dst
        // node. Before removing `e->dst()`, replace those edges with
        // corresponding edges for `dst_replace_node`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

          Node* dst = edge.dst;
          NodeDef new_def = dst->def();
          *new_def.mutable_input(edge.dst_input) =
              absl::StrCat(recv_at_host_node->name(), ":", index);
          TF_ASSIGN_OR_RETURN(Node * dst_replace, ReplaceNode(g, dst, new_def));
    
          // Other edges might have `dst` as dst node as well. Update those edges
          // with `dst_replace`.
          for (int j = i + 1, end = out_edge_info.size(); j < end; j++) {
    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