Tensorflow output activation funtion?

in logits = tf.layers.dense(hidden2, n_outputs, name=“outputs”) why you are not defining the activation function ?