예제 #1
0
 def setUp(self):
     super(PerformancePipelineTest, self).setUp()
     self.config = performance_model.PerformanceRnnConfig(
         None,
         magenta.music.OneHotEventSequenceEncoderDecoder(
             magenta.music.PerformanceOneHotEncoding()),
         contrib_training.HParams())
 def setUp(self):
     self.config = performance_model.PerformanceRnnConfig(
         None,
         magenta.music.OneHotEventSequenceEncoderDecoder(
             magenta.music.PerformanceOneHotEncoding()),
         tf.contrib.training.HParams())