ewoksfluo.resource_utils.log_required_memory#

ewoksfluo.resource_utils.log_required_memory(action, shape, dtype, multiplier=1)[source]#

Log the memory required for the processing of an array.

Parameters:
  • action (str)

  • shape (Tuple[int, ...])

  • dtype (Union[dtype[Any], None, type[Any], _SupportsDType[dtype[Any]], str, tuple[Any, int], tuple[Any, Union[SupportsIndex, Sequence[SupportsIndex]]], list[Any], _DTypeDict, tuple[Any, Any]])

  • multiplier (int)

Return type:

None