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

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 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)