legate.core.task.OutputArray#
- class legate.core.task.OutputArray#
Convenience class for specifying output arrays for Legate task variants.
This class can be used as a type annotation in order to mark parameters as outputs that should be taken from
TaskContext.outputs
when the task code is invoked:def task_function(in: InputArray, out: OutputArray) -> None
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)child
(self, uint32_t index)Get the sub-array of a given index.
data
(self)Get the store containing the array's data.
domain
(self)Get the Domain of the array.
null_mask
(self)Get the store containing the array's null mask.
Attributes
__array_interface__
dict[str, Any]
__cuda_array_interface__
dict[str, Any]
__doc__
ndim
int
nested
bool
nullable
bool
type
Type