node_to_str

ivy.node_to_str(node_in: ivy.Node, f: Optional[ivy.Framework] = None) → str[source]

Convert native data type to string representation.

Parameters
  • node_in (node handle) – The node handle to convert to string.

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

node string e.g. ‘cuda:0’.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty