get_num_compute_nodes#

Model.get_num_compute_nodes()#

Get the number of compute nodes.

Returns:
:
int

Returns the number of compute nodes.

Return type:

int

Examples

>>> model = client.model
>>> num_compute_nodes = model.get_num_compute_nodes()