ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

MapPeek

public final class MapPeek

Op peeks at the values at the specified key. If the

underlying container does not contain this key this op will block until it does.

Nested Classes

class MapPeek.Options Optional attributes for MapPeek  

Public Methods

static MapPeek.Options
capacity(Long capacity)
static MapPeek.Options
container(String container)
static MapPeek
create(Scope scope, Operand<Long> key, Operand<Integer> indices, List<Class<?>> dtypes, Options... options)
Factory method to create a class wrapping a new MapPeek operation.
Iterator<Operand<Object>>
static MapPeek.Options
memoryLimit(Long memoryLimit)
static MapPeek.Options
sharedName(String sharedName)
List<Output<?>>
values()

Inherited Methods

Public Methods

public static MapPeek.Options capacity (Long capacity)

public static MapPeek.Options container (String container)

public static MapPeek create (Scope scope, Operand<Long> key, Operand<Integer> indices, List<Class<?>> dtypes, Options... options)

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

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of MapPeek

public Iterator<Operand<Object>> iterator ()

public static MapPeek.Options memoryLimit (Long memoryLimit)

public static MapPeek.Options sharedName (String sharedName)

public List<Output<?>> values ()