code: def adjust_sequence_times(sequence, delta_time):
      """Adjusts note and total NoteSequence times by `delta_time`."""
      retimed_sequence = music_pb2.NoteSequence()
      retimed_sequence.CopyFrom(sequence)
  
      for note in retimed_sequence.notes:
          note.start_time += delta_time
          note.end_time += delta_time
      retimed_sequence.total_time += delta_time
      return retimed_sequence
  
imports: import abc
  import threading
  import time
  import note_seq
  from note_seq.protobuf import generator_pb2
  from note_seq.protobuf import music_pb2
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: adjust_sequence_times(sequence, delta_time) and returns: retimed_sequence