Commit af9636cb authored by Bharath Ramsundar's avatar Bharath Ramsundar
Browse files

Fixed comment

parent 6e6764e5
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -34,10 +34,6 @@ class SineLearner(dc.metalearning.MetaLearner):
    self.amplitude = 5.0 * np.random.random()
    self.phase = np.pi * np.random.random()

  #def set_task(self, amplitude, phase):
  #  self.amplitude = amplitude
  #  self.phase = phase

  def get_batch(self):
    x = np.random.uniform(-5.0, 5.0, (self.batch_size, 1))
    return [x, self.amplitude * np.sin(x + self.phase)]