- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for RewriteOutsideCompilationSubgraphFn (0.61 sec)
-
tensorflow/compiler/jit/extract_outside_compilation_pass.h
// known, "shapes" attr will be set to the list of input shapes; otherwise // "shape_inference_graph" attr will be set to shape inference function name. class RewriteOutsideCompilationSubgraphFn { public: RewriteOutsideCompilationSubgraphFn( const string& xla_cluster_attr_name, const string& outside_compilation_attr_name, const string& xla_cluster_name, const string& new_function_name)
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/extract_outside_compilation_pass_test.cc
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"); TF_CHECK_OK(
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/encapsulate_util.h
// `PreprocessEdgesBetweenOutsideCompilations` step 1a). // Notice that control edges marked by // `PreprocessEdgesBetweenOutsideCompilations` step 1b are not handled here. // They are handled in `RewriteOutsideCompilationSubgraphFn`. Status PostprocessEdgesBetweenOutsideCompilations( Graph* g, const string& outside_compilation_attr_name); } // namespace tensorflow
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.cc
g->RemoveEdge(e); g->AddEdge(copy_node, 0, dst, dst_input); } } } return absl::OkStatus(); } } // namespace Status RewriteOutsideCompilationSubgraphFn::operator()( const std::vector<OutputTensor>& arg_source_tensors, std::unique_ptr<Graph>* graph, std::vector<int>* input_permutation, std::vector<int>* output_permutation, NodeDef* node_def) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0)