T - data type for tensor() output@Operator public final class TensorListConcat<T> extends PrimitiveOp
Requires that all tensors have the same shape except the first dimension.
input_handle: The input list. tensor: The concated result. lengths: Output tensor containing sizes of the 0th dimension of tensors in the list, used for computing the gradient.
operation| Modifier and Type | Method and Description |
|---|---|
static <T> TensorListConcat<T> |
create(Scope scope,
Operand<?> inputHandle,
Class<T> elementDtype)
Factory method to create a class to wrap a new TensorListConcat operation to the graph.
|
Output<Long> |
lengths() |
Output<T> |
tensor() |
equals, hashCode, toStringpublic static <T> TensorListConcat<T> create(Scope scope, Operand<?> inputHandle, Class<T> elementDtype)
scope - current graph scopeinputHandle - elementDtype - Copyright © 2015–2019. All rights reserved.