tf.nn.relu_layer(x, weights, biases, name=None)
Computes Relu(x * weight + biases).
x
: a 2D tensor. Dimensions typically: batch, in_unitsweights
: a 2D tensor. Dimensions typically: in_units, out_unitsbiases
: a 1D tensor. Dimensions: out_unitsname
: A name for the operation (optional). If not specified "nn_relu_layer" is used.A 2-D Tensor computing relu(matmul(x, weights) + biases). Dimensions typically: batch, out_units.
Defined in tensorflow/python/ops/nn_impl.py
.
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/nn/relu_layer