class_docstr: Stores hyperparameters for initialization, batch norm and training.
class_docstr_tok: ["Stores","hyperparameters","for","initialization",",","batch","norm","and","training","."]
code: def pianoroll_shape(self):
      if self.separate_instruments:
          return [
              self.crop_piece_len,
              self.num_pitches,
              self.num_instruments,
          ]
      else:
          return [self.crop_piece_len, self.num_pitches, 1]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  import os
  from magenta.models.coconet import lib_util
  import numpy
  import six
  import tensorflow.compat.v1
  import yaml
label_desc: Use image node_id 10 for calling the Hyperparameters obj's underlying member method code with example usage: obj.pianoroll_shape() and returns: list, list