Home
last modified time | relevance | path

Searched refs:variable_start_index (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass.cc156 int variable_start_index = num_args; in RewriteSubgraph() local
161 variable_start_index == num_args) { in RewriteSubgraph()
162 variable_start_index = i; in RewriteSubgraph()
167 VLOG(4) << "variable_start_index: " << variable_start_index; in RewriteSubgraph()
179 AddNodeAttr("_variable_start_index", variable_start_index, call_def); in RewriteSubgraph()
252 int variable_start_index; in BuildXlaLaunchOps() local
254 &variable_start_index)); in BuildXlaLaunchOps()
260 const int num_variables = num_inputs - variable_start_index; in BuildXlaLaunchOps()
261 const int num_args = variable_start_index; in BuildXlaLaunchOps()
284 int pos = variable_start_index + i; in BuildXlaLaunchOps()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dencapsulate_tpu_computations_pass.cc214 int variable_start_index = num_args; in RewriteSubgraph() local
220 !is_replicated_input(*args[i]) && variable_start_index == num_args) { in RewriteSubgraph()
221 variable_start_index = i; in RewriteSubgraph()
229 VLOG(4) << "variable_start_index: " << variable_start_index in RewriteSubgraph()
242 AddNodeAttr("_variable_start_index", variable_start_index, call_def); in RewriteSubgraph()
2604 int variable_start_index; in BuildTPUReplicateOps() local
2606 &variable_start_index)); in BuildTPUReplicateOps()
2674 std::max(0, guaranteed_const_start_index - variable_start_index); in BuildTPUReplicateOps()