code: def _get_activation(self, inputs, activation, **kwargs):
          
          if isinstance(activation, string_types):
              return symbol.Activation(inputs, act_type=activation, **kwargs)
          else:
              return activation(inputs, **kwargs)
docs: Get activation function. Convert if is string