(pitches)
Transforms [0, 88) to MIDI pitches [21, 108].
Transforms [0, 88) to MIDI pitches [21, 108].
Transforms [ 0 88 ) to MIDI pitches [ 21 108 ] .
def remidify(pitches):
  """Transforms [0, 88) to MIDI pitches [21, 108]."""
  assertions = [
      tf.assert_greater_equal(pitches, 0),
      tf.assert_less_equal(pitches, 87)
  ]
  with tf.control_dependencies(assertions):
    return pitches + 21
def remidify ( pitches ) : assertions = [ tf . assert_greater_equal ( pitches , 0 ) , tf . assert_less_equal ( pitches , 87 ) ] with tf . control_dependencies ( assertions ) : return pitches + 21