DeleteMultiDeviceIterator

public final class DeleteMultiDeviceIterator

A container for an iterator resource.

Public Methods

static DeleteMultiDeviceIterator
create(Scope scope, Operand<?> multiDeviceIterator, Iterable<Operand<?>> iterators, Operand<?> deleter)
Factory method to create a class wrapping a new DeleteMultiDeviceIterator operation.

Inherited Methods

Public Methods

public static DeleteMultiDeviceIterator create (Scope scope, Operand<?> multiDeviceIterator, Iterable<Operand<?>> iterators, Operand<?> deleter)

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

Parameters
scope current scope
multiDeviceIterator A handle to the multi device iterator to delete.
iterators A list of iterator handles (unused). This is added so that automatic control dependencies get added during function tracing that ensure this op runs after all the dependent iterators are deleted.
deleter A variant deleter.
Returns
  • a new instance of DeleteMultiDeviceIterator