Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddependency_optimizer.cc191 int num_cross_in = 0; in BypassingNodeIsBeneficial() local
193 num_cross_in += static_cast<int>(input_node->device() != node_dev); in BypassingNodeIsBeneficial()
201 const int num_cross_before = num_cross_in + num_cross_out; in BypassingNodeIsBeneficial()
213 if ((is_identity || is_multi_input_identity_n) && num_cross_in > 0 && in BypassingNodeIsBeneficial()