ewoksfluo.resource_utils.array_block_size#

ewoksfluo.resource_utils.array_block_size(item_shape, dtype, max_workers, multiplier=1)[source]#

Number of items that can be processing in parallel while staying within the memory limits.

Parameters:
  • item_shape (Tuple[int, ...])

  • dtype (DTypeLike)

  • max_workers (int)

  • multiplier (int)

Return type:

int