class_docstr: A dataset for reading NSynth from Tensorflow Datasets (TFDS).
class_docstr_tok: ["A","dataset","for","reading","NSynth","from","Tensorflow","Datasets","(","TFDS",")","."]
code: def get_pitch_counts(self):
      pitch_counts = {
          24: 551,
          25: 545,
          26: 561,
          27: 550,
          28: 549,
          29: 578,
          30: 547,
          31: 628,
          32: 626,
          33: 630,
          34: 670,
          35: 668,
          36: 751,
          37: 768,
          38: 788,
          39: 801,
          40: 821,
          41: 871,
          42: 873,
          43: 860,
          44: 873,
          45: 844,
          46: 883,
          47: 865,
          48: 1058,
          49: 1036,
          50: 1094,
          51: 1065,
          52: 1186,
          53: 1200,
          54: 1187,
          55: 1346,
          56: 1273,
          57: 1320,
          58: 1263,
          59: 1283,
          60: 1349,
          61: 1285,
          62: 1281,
          63: 1332,
          64: 1286,
          65: 1301,
          66: 1220,
          67: 1300,
          68: 1209,
          69: 1257,
          70: 1288,
          71: 1223,
          72: 1258,
          73: 1183,
          74: 1178,
          75: 1125,
          76: 1171,
          77: 1089,
          78: 1024,
          79: 1081,
          80: 966,
          81: 1043,
          82: 991,
          83: 959,
          84: 977,
      }
      return pitch_counts
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  from magenta.models.gansynth.lib import spectral_ops
  import numpy
  import tensorflow.compat.v1
  import tensorflow_datasets
label_desc: Use image node_id 4 for calling the NSynthTfdsDataset obj's underlying member method code with example usage: obj.get_pitch_counts() and returns: pitch_counts