InitializeTable

public final class InitializeTable

Table initializer that takes two tensors for keys and values respectively.

Public Methods

static <T, U> InitializeTable
create(Scope scope, Operand<?> tableHandle, Operand<T> keys, Operand<U> values)
Factory method to create a class wrapping a new InitializeTable operation.

Inherited Methods

org.tensorflow.op.PrimitiveOp
final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying Operation
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public static InitializeTable create (Scope scope, Operand<?> tableHandle, Operand<T> keys, Operand<U> values)

Factory method to create a class wrapping a new InitializeTable operation.

Parameters
scope current scope
tableHandle Handle to a table which will be initialized.
keys Keys of type Tkey.
values Values of type Tval.
Returns
  • a new instance of InitializeTable