class_docstr: Class for retrieving different datasets.
class_docstr_tok: ["Class","for","retrieving","different","datasets","."]
docstr: Update subset of Hyperparameters pertaining to data.
docstr_tok: ["Update","subset","of","Hyperparameters","pertaining","to","data","."]
code: def update_hparams(self, hparams):
      """Update subset of Hyperparameters pertaining to data."""
      for key in "num_instruments min_pitch max_pitch qpm".split():
          setattr(hparams, key, getattr(self, key))
  
imports: import os
  from magenta.models.coconet import lib_mask
  from magenta.models.coconet import lib_pianoroll
  from magenta.models.coconet import lib_util
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 8 for calling the Dataset obj's underlying member method code with example usage: obj.update_hparams(hparams) without return types