class_docstr: Beam PTransform that reads NoteSequence protos from TFRecord.
class_docstr_tok: ["Beam","PTransform","that","reads","NoteSequence","protos","from","TFRecord","."]
code: def __init__(self, tfrecord_path):
      super(ReadNoteSequencesFromTFRecord, self).__init__()
      self._tfrecord_path = tfrecord_path
  
imports: import copy
  import functools
  import hashlib
  import logging
  import os
  import random
  import typing
  import apache_beam
  from apache_beam import typehints
  from apache_beam.metrics import Metrics
  from magenta.models.score2perf import music_encoders
  import note_seq
  from note_seq import chord_inference
  from note_seq import melody_inference
  from note_seq import sequences_lib
  import numpy
  from tensor2tensor.data_generators import generator_utils
  import tensorflow.compat.v1
label_desc: Use image node_id 1 to create a new ReadNoteSequencesFromTFRecord object from inherited base classes: beam with example: obj = ReadNoteSequencesFromTFRecord(tfrecord_path)