Commit e026c2f4 authored by peastman's avatar peastman
Browse files

yapf

parent 5d7b2a76
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1848,6 +1848,7 @@ class MaxPool1D(Layer):
      self.out_tensor = out_tensor
    return out_tensor


class MaxPool2D(Layer):

  def __init__(self,
+2 −0
Original line number Diff line number Diff line
@@ -661,8 +661,10 @@ def lrelu(alpha=0.01):
  -------
  a function f(x) that returns alpha*x when x<0, and x when x>0.
  """

  def eval(x):
    return relu(x, alpha=alpha)

  return eval