Searched refs:num_no_grad (Results 1 – 1 of 1) sorted by relevance
491 const size_t num_no_grad = no_grad_dy_indices.size(); in AddGradients() local492 if (IsPrimitiveOpWithNoGrad(n->type_string()) || num_no_grad == num_y) { in AddGradients()503 if (num_no_grad > 0 && num_no_grad < num_y) { in AddGradients()