@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class TensorArrayConcat extends Pointer
value
.
Takes T
elements of shapes
(n0 x d0 x d1 x ...), (n1 x d0 x d1 x ...), ..., (n(T-1) x d0 x d1 x ...)
and concatenates them into a Tensor of shape:
(n0 + n1 + ... + n(T-1) x d0 x d1 x ...)
All elements must have the same shape (excepting the first dimension).
Arguments:
* scope: A Scope object
* handle: The handle to a TensorArray.
* flow_in: A float scalar that enforces proper chaining of operations.
* dtype: The type of the elem that is returned.
Optional attributes (see Attrs
):
* element_shape_except0: The expected shape of an element, if known,
excluding the first dimension. Used to validate the shapes of
TensorArray elements. If this shape is not fully specified, concatenating
zero-size TensorArrays is an error.
Returns:
* Output
value: All of the elements in the TensorArray, concatenated along the first
axis.
* Output
lengths: A vector of the row sizes of the original T elements in the
value output. In the example above, this would be the values:
(n1, n2, ..., n(T-1))
.Modifier and Type | Class and Description |
---|---|
static class |
TensorArrayConcat.Attrs
Optional attribute setters for TensorArrayConcat
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorArrayConcat(Pointer p)
Pointer cast constructor.
|
TensorArrayConcat(Scope scope,
Input handle,
Input flow_in,
int dtype) |
TensorArrayConcat(Scope scope,
Input handle,
Input flow_in,
int dtype,
TensorArrayConcat.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
static TensorArrayConcat.Attrs |
ElementShapeExcept0(PartialTensorShape x) |
Output |
lengths() |
TensorArrayConcat |
lengths(Output setter) |
Operation |
operation() |
TensorArrayConcat |
operation(Operation setter) |
Output |
value() |
TensorArrayConcat |
value(Output setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TensorArrayConcat(Pointer p)
Pointer(Pointer)
.public TensorArrayConcat(@Const @ByRef Scope scope, @ByVal Input handle, @ByVal Input flow_in, @Cast(value="tensorflow::DataType") int dtype)
@ByVal public static TensorArrayConcat.Attrs ElementShapeExcept0(@ByVal PartialTensorShape x)
public TensorArrayConcat operation(Operation setter)
public TensorArrayConcat value(Output setter)
public TensorArrayConcat lengths(Output setter)
Copyright © 2022. All rights reserved.