Scalar#

Scalar represents a single, immutable value within a task. These are usually small or trivially copyable types. Unlike LogicalStore or LogicalArray which are partitioned and split across tasks for a particular task launch, Scalar s are always copied across all instances.

Scalar(value[, dtype])