def _ApplyPadding(tensor_in, padding_in):
    padding_expanded = tf.expand_dims(tf.expand_dims(padding_in, (- 1)), (- 1))
    return (tensor_in * (1.0 - padding_expanded))
def _ApplyPadding(tensor_in, padding_in):
    padding_expanded = tf.expand_dims(tf.expand_dims(padding_in, (- 1)), (- 1))
    return (tensor_in * (1.0 - padding_expanded))