tensorflow_probability/python/optimizer/differential_evolution.py
def _check_failure(population_values):
  """Checks if all the population values are NaN/infinite."""
  return tf.math.reduce_all(input_tensor=tf.math.is_inf(population_values))
def _check_failure(population_values):
  """Checks if all the population values are NaN/infinite."""
  return tf.math.reduce_all(input_tensor=tf.math.is_inf(population_values))
def _check_failure ( population_values ) : return tf . math . reduce_all ( input_tensor = tf . math . is_inf ( population_values ) )
Checks if all the population values are NaN/infinite.
Checks if all the population values are NaN / infinite .