legate.core.ManualTask.add_input#

ManualTask.add_input(
self,
arg: LogicalStore | LogicalStorePartition,
projection=None,
bool is_key_partition=False,
) void#

Adds an input to the task.

Parameters:
  • arg (LogicalStore | LogicalStorePartition) – LogicalStore or LogicalStorePartition to pass as input.

  • projection (tuple[SymbolicExpr, ...] | None) – The projection for the partition (if arg is a LogicalStorePartition). If arg is a LogicalStore, then argument is ignored.

  • is_key_partition (bool) – If True, the arg is used as the key partition for mapping this ManualTask. Ignored when the arg is a LogicalStore.

Raises:

TypeError – If arg is neither a LogicalStore or LogicalStorePartition.