class_docstr: Leaky version of a Rectified Linear Unit.
  It allows a small gradient when the unit is not active:
  f(x) = alpha * x for x < 0,
  f(x) = x for x >= 0.
  
  When you use this layer as the first layer of a model, you need to provide the argument
  input_shape (a shape tuple, does not include the batch dimension).
  
  # Arguments
  alpha: Float >= 0. Negative slope coefficient. Default is 0.3.
  input_shape: A shape tuple, not including batch.
  name: String to set the name of the layer.
        If not specified, its name will by default to be a generated string.
  
  >>> leakyrelu = LeakyReLU(0.02, input_shape=(4, 5))
  creating: createZooKerasLeakyReLU
class_docstr_tok: ["Leaky","version","of","a","Rectified","Linear","Unit",".","It","allows","a","small","gradient","when","the","unit","is","not","active",":","f","(","x",")","=","alpha","*","x","for","x","<","0",",","f","(","x",")","=","x","for","x",">","=","0",".","When","you","use","this","layer","as","the","first","layer","of","a","model",",","you","need","to","provide","the","argument","input_shape","(","a","shape","tuple",",","does","not","include","the","batch","dimension",")",".","#","Arguments","alpha",":","Float",">","=","0",".","Negative","slope","coefficient",".","Default","is","0.3.","input_shape",":","A","shape","tuple",",","not","including","batch",".","name",":","String","to","set","the","name","of","the","layer",".","If","not","specified",",","its","name","will","by","default","to","be","a","generated","string",".",">",">",">","leakyrelu","=","LeakyReLU","(","0.02",",","input_shape=","(","4",",","5",")",")","creating",":","createZooKerasLeakyReLU"]
code: def __init__(self, alpha=0.01, input_shape=None, **kwargs):
      super(LeakyReLU, self).__init__(
          None,
          float(alpha),
          list(input_shape) if input_shape else None,
          **kwargs,
      )
  
file_path: BigDL/python/dllib/src/bigdl/dllib/keras/layers/advanced_activations.py
imports: import sys
  from ..engine.topology import ZooKerasLayer
label_desc: Use image node_id 1 to create a new LeakyReLU object from inherited base classes: ZooKerasLayer with example: obj = LeakyReLU(alpha, input_shape)