1. 程式人生 > >全連線函式 tf.contrib.layers.fully_connected

全連線函式 tf.contrib.layers.fully_connected

tf.contrib.layers.fully_connected(
    inputs,
    num_outputs,
    activation_fn=tf.nn.relu,
    normalizer_fn=None,
    normalizer_params=None,
    weights_initializer=initializers.xavier_initializer(),
    weights_regularizer=None,
    biases_initializer=tf.zeros_initializer(),
    biases_regularizer=
None, reuse=None, variables_collections=None, outputs_collections=None, trainable=True, scope=None )