used_mem_on_node

ivy.used_mem_on_node(node_str: str, process_specific=False) → float[source]

Get the used memory (in GB) for a given node string. In case of CPU, the used RAM is returned.

Parameters
  • node_str (str) – The node string to conver to native node handle.

  • process_specific (bool, optional) – Whether the check the memory used by this python process alone. Default is False.

Returns

The used memory on the node in GB.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty