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

MapClear

public final class MapClear

Op removes all elements in the underlying container.

Nested Classes

class MapClear.Options Optional attributes for MapClear  

Public Methods

static MapClear.Options
capacity(Long capacity)
static MapClear.Options
container(String container)
static MapClear
create(Scope scope, List<Class<?>> dtypes, Options... options)
Factory method to create a class wrapping a new MapClear operation.
static MapClear.Options
memoryLimit(Long memoryLimit)
static MapClear.Options
sharedName(String sharedName)

Inherited Methods

Public Methods

public static MapClear.Options capacity (Long capacity)

public static MapClear.Options container (String container)

public static MapClear create (Scope scope, List<Class<?>> dtypes, Options... options)

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

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

public static MapClear.Options memoryLimit (Long memoryLimit)

public static MapClear.Options sharedName (String sharedName)