legate.core.task.PyTask.__call__#

PyTask.__call__()#

Invoke the task.

Parameters:
  • *args (Any, optional) – The positional arguments to the task.

  • **kwargs (Any, optional) – The keyword arguments to the task.

Notes

This method is equivalent to the following:

task.prepare_call(*args, **kwargs).execute()

As a result, it has the same exception and usage profile as PyTask.prepare_call.

See also

legate.task.task.PyTask.prepare_call