#include <nn_ops.h>
Adds bias
to value
.
This is a special case of tf.add
where bias
is restricted to be 1-D. Broadcasting is supported, so value
may have any number of dimensions.
Arguments:
value
.Optional attributes (see Attrs
):
Returns:
Output
: Broadcasted sum of value
and bias
. Constructors and Destructors | |
---|---|
BiasAdd(const ::tensorflow::Scope & scope, ::tensorflow::Input value, ::tensorflow::Input bias) | |
BiasAdd(const ::tensorflow::Scope & scope, ::tensorflow::Input value, ::tensorflow::Input bias, const BiasAdd::Attrs & attrs) |
Public attributes | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
DataFormat(StringPiece x) |
Structs | |
---|---|
tensorflow::ops::BiasAdd::Attrs | Optional attribute setters for BiasAdd. |
::tensorflow::Output output
BiasAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input value, ::tensorflow::Input bias )
BiasAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input value, ::tensorflow::Input bias, const BiasAdd::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs DataFormat( StringPiece x )
© 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/cc/class/tensorflow/ops/bias-add.html