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

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