Home
last modified time | relevance | path

Searched refs:rewrite_fn (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/contrib/quantize/python/
Dquantize_graph_test.py95 def _TestRewrite(self, rewrite_fn): argument
103 rewrite_fn(graph)
112 def _TestDefaultGraph(self, rewrite_fn): argument
119 rewrite_fn()
128 def _TestWithPostActivationBypass(self, rewrite_fn): argument
133 rewrite_fn()
142 def _TestQuantDelay(self, rewrite_fn): argument
146 rewrite_fn(quant_delay=quant_delay)
160 def _TestTrainingOpsCheck(self, rewrite_fn): argument
168 rewrite_fn()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass_test.cc60 RewriteOutsideCompilationSubgraphFn rewrite_fn("_xla", "_oc", "cluster"); in TEST() local
65 rewrite_fn(arg_source_tensors, &g, nullptr, nullptr, &call_node_def)); in TEST()
131 RewriteOutsideCompilationSubgraphFn rewrite_fn("_xla", "_oc", "cluster"); in TEST() local
136 rewrite_fn(arg_source_tensors, &g, nullptr, nullptr, &call_node_def)); in TEST()
157 RewriteOutsideCompilationSubgraphFn rewrite_fn("_xla", "_oc", "cluster"); in TEST() local
162 rewrite_fn(arg_source_tensors, &g, nullptr, nullptr, &call_node_def)); in TEST()
181 RewriteOutsideCompilationSubgraphFn rewrite_fn("_xla", "_oc", "cluster"); in TEST() local
186 rewrite_fn(arg_source_tensors, &g, nullptr, nullptr, &call_node_def)); in TEST()
213 RewriteOutsideCompilationSubgraphFn rewrite_fn("_xla", "_oc", "cluster"); in TEST() local
218 rewrite_fn(arg_source_tensors, &g, nullptr, nullptr, &call_node_def)); in TEST()
Dextract_outside_compilation_pass.cc1629 RewriteOutsideCompilationSubgraphFn rewrite_fn( in ExtractOutsideCompilationForFunction() local
1632 outside_compilation_attr_name, "", *fbody->graph, rewrite_fn, in ExtractOutsideCompilationForFunction()
/external/tensorflow/tensorflow/python/kernel_tests/
Dregex_replace_op_test.py109 def testRegexReplaceDelegation(self, pattern_fn, rewrite_fn): argument
113 replace = rewrite_fn(".")
/external/tensorflow/tensorflow/python/distribute/
Dtpu_strategy.py319 def rewrite_fn(*args): function
349 replicate_outputs = rewrite_fn()
351 replicate_outputs = training_loop.repeat(iterations, rewrite_fn,