class_docstr: Simple activation function to be applied to the output.
  Available activations: 'tanh', 'relu', 'sigmoid', 'softmax', 'softplus', 'softsign',
                         'hard_sigmoid', 'linear', 'relu6', 'tanh_shrink', 'softmin',
                         'log_sigmoid' and 'log_softmax'.
  
  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
  activation: Name of the activation function as string.
  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.
  
  >>> activation = Activation("relu", input_shape=(3, 4))
  creating: createZooKerasActivation
class_docstr_tok: ["Simple","activation","function","to","be","applied","to","the","output",".","Available","activations",":","'tanh","'",",","'relu","'",",","'sigmoid","'",",","'softmax","'",",","'softplus","'",",","'softsign","'",",","'hard_sigmoid","'",",","'linear","'",",","'relu6","'",",","'tanh_shrink","'",",","'softmin","'",",","'log_sigmoid","'","and","'log_softmax","'",".","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","activation",":","Name","of","the","activation","function","as","string",".","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",".",">",">",">","activation","=","Activation","(","``","relu","''",",","input_shape=","(","3",",","4",")",")","creating",":","createZooKerasActivation"]
code: def __init__(self, activation, input_shape=None, **kwargs):
      super(Activation, self).__init__(
          None,
          activation,
          list(input_shape) if input_shape else None,
          **kwargs,
      )
  
imports: import sys
  from bigdl.util.common import INTMIN
  from ..engine.topology import ZooKerasLayer
label_desc: Use image node_id 1 to create a new Activation object from inherited base classes: ZooKerasLayer with example: obj = Activation(activation, input_shape)