percent_used_mem_on_node

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

Get the percentage used memory 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 percentage used memory on the node.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty