@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.BiasAdd extends Pointer
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:
* scope: A Scope object
* value: Any number of dimensions.
* bias: 1-D with size the last dimension of value.
Optional attributes (see Attrs):
* data_format: Specify the data format of the input and output data. With the
default format "NHWC", the bias tensor will be added to the last dimension
of the value tensor.
Alternatively, the format could be "NCHW", the data storage order of:
[batch, in_channels, in_height, in_width].
The tensor will be added to "in_channels", the third-to-the-last
dimension.
Returns:
* Output: Broadcasted sum of value and bias.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.BiasAdd.Attrs
Optional attribute setters for BiasAdd
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
BiasAdd(Pointer p)
Pointer cast constructor.
|
BiasAdd(tensorflow.Scope scope,
tensorflow.Input value,
tensorflow.Input bias) |
BiasAdd(tensorflow.Scope scope,
tensorflow.Input value,
tensorflow.Input bias,
tensorflow.BiasAdd.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.BiasAdd.Attrs |
DataFormat(BytePointer x) |
static tensorflow.BiasAdd.Attrs |
DataFormat(String x) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.BiasAdd |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.BiasAdd |
output(tensorflow.Output output) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic BiasAdd(Pointer p)
Pointer.Pointer(Pointer).public BiasAdd(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input value, @ByVal tensorflow.Input bias)
public BiasAdd(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input value, @ByVal tensorflow.Input bias, @Const @ByRef tensorflow.BiasAdd.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.BiasAdd.Attrs DataFormat(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.BiasAdd.Attrs DataFormat(@tensorflow.StringPiece String x)
@ByRef public tensorflow.Operation operation()
public tensorflow.BiasAdd operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.BiasAdd output(tensorflow.Output output)
Copyright © 2019. All rights reserved.