TensorMapInsert

public final class TensorMapInsert

Returns a map that is the 'input_handle' with the given key-value pair inserted.

input_handle: the original map output_handle: the map with key and value inserted key: the key to be inserted value: the value to be inserted

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output<TType>
asOutput()
Returns the symbolic handle of the tensor.
static TensorMapInsert
create(Scope scope, Operand<?> inputHandle, Operand<? extends TType> key, Operand<? extends TType> value)
Factory method to create a class wrapping a new TensorMapInsert operation.
Output<?>

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "TensorMapInsert"

Public Methods

public Output<TType> asOutput ()

Returns the symbolic handle of the tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static TensorMapInsert create (Scope scope, Operand<?> inputHandle, Operand<? extends TType> key, Operand<? extends TType> value)

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

Parameters
scope current scope
Returns
  • a new instance of TensorMapInsert

public Output<?> outputHandle ()