- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for kXlaConnectedFromXlaComputationAttrName (0.53 sec)
-
tensorflow/compiler/jit/encapsulate_util.cc
} else if (!src_outside_compilation && dst_outside_compilation) { // Case 1b: XLA computation to outside compilation in it control edge. ReplaceAttr(e->dst(), kXlaConnectedFromXlaComputationAttrName, true); } } for (auto e : edges_to_remove) { g->RemoveEdge(e); } return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.5K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.h
// and `outside_compilation_attr_name`; // 5. For nodes marked with attr kXlaConnectedToXlaComputationAttrName, add a // control edge from the node to XlaSendFromHost; for nodes marked with attr // kXlaConnectedFromXlaComputationAttrName, add a control edge from // XlaRecvAtHost node to the node; // 6. Try pruning XlaRecvAtHost/XlaSendFromHost/key placeholder node. // 7. Add necessary attributes to `node_def`, so we can replace it with a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_util.h
// Attribute indicating that this node has control dependency on some ops in // this node's XLA computation. Attribute value will always be "true". extern const char kXlaConnectedFromXlaComputationAttrName[]; // Attribute indicating that this is an Placeholder node added to act as a // temporary input node for an outside compilation node. Attribute value will be // string (original input node name).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc
Node *add_node = node_name_image["add"]; EXPECT_NE(add_node, nullptr); add_node->AddAttr(kXlaConnectedToXlaComputationAttrName, "cluster"); add_node->AddAttr(kXlaConnectedFromXlaComputationAttrName, "cluster"); RewriteOutsideCompilationSubgraphFn rewrite_fn("_xla", "_oc", "cluster", ""); std::vector<OutputTensor> arg_source_tensors; NodeDef call_node_def; call_node_def.set_op("0");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 41K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
n->ClearAttr(kXlaConnectedToXlaComputationAttrName); } if (HasNodeAttr(n->def(), kXlaConnectedFromXlaComputationAttrName)) { (*graph)->AddControlEdge(recv_at_host_node, n); n->ClearAttr(kXlaConnectedFromXlaComputationAttrName); } } // Step 6: RecvAtHost/SendFromHost/key_placeholder might be dead nodes. Prune // them if necessary.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0)