Searched refs:target_probs (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | sampling_ops.py | 137 target_probs, argument 196 target_probs = ops.convert_to_tensor(target_probs, dtype=dtypes.float32) 206 target_probs.get_shape().assert_is_fully_defined() 208 labels, target_probs.get_shape().num_elements()) 213 tensor_list, labels, [init_probs, target_probs] = _verify_input( 214 tensor_list, labels, [init_probs, target_probs]) 222 math_ops.equal(target_probs, 0))), 224 'probability: ', init_probs, target_probs 229 accept_probs = _calculate_acceptance_probabilities(init_probs, target_probs) 374 def _calculate_acceptance_probabilities(init_probs, target_probs): argument [all …]
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | resampling.py | 190 def _get_target_to_initial_ratio(initial_probs, target_probs): argument 193 return target_probs / denom 221 def _calculate_acceptance_probs_with_mixing(initial_probs, target_probs): argument 286 ratio_l = _get_target_to_initial_ratio(initial_probs, target_probs)
|