ShardedArray#
- class brainpy.math.ShardedArray(value, dtype=None, *, keep_sharding=True)[source]#
The sharded array, which stores data across multiple devices.
A drawback of sharding is that the data may not be evenly distributed on shards.
- Parameters:
- property value#
The value stored in this array.
- Returns:
The stored data.