def dense(opts, inputs):
    if opts.activation:
        return tf.layers.dense(units=opts.size, inputs=inputs, activation=tf.nn.relu)
    else:
        return tf.layers.dense(units=opts.size, inputs=inputs)
def dense(opts, inputs):
    if opts.activation:
        return tf.layers.dense(units=opts.size, inputs=inputs, activation=tf.nn.relu)
    else:
        return tf.layers.dense(units=opts.size, inputs=inputs)