T - data type for keys() outputU - data type for values() output@Operator public final class LookupTableExport<T,U> extends PrimitiveOp
operation| Modifier and Type | Method and Description |
|---|---|
static <T,U> LookupTableExport<T,U> |
create(Scope scope,
Operand<?> tableHandle,
Class<T> Tkeys,
Class<U> Tvalues)
Factory method to create a class to wrap a new LookupTableExport operation to the graph.
|
Output<T> |
keys()
Vector of all keys present in the table.
|
Output<U> |
values()
Tensor of all values in the table.
|
equals, hashCode, toStringpublic static <T,U> LookupTableExport<T,U> create(Scope scope, Operand<?> tableHandle, Class<T> Tkeys, Class<U> Tvalues)
scope - current graph scopetableHandle - Handle to the table.Tkeys - Tvalues - Copyright © 2015–2019. All rights reserved.