ivy.args_to_native(*args: Iterable[Any], **kwargs: Dict[str, Any]) → Tuple[Iterable[Any], Dict[str, Any]][source]

Returns args and keyword args in their native backend framework form for all nested ivy.Array or ivy.Variable instances, otherwise the arguments are returned unchanged.

  • args (sequence of arguments) – The positional arguments to check

  • kwargs (dict of arguments) – The key-word arguments to check


the same arguments, with any nested ivy.Array or ivy.Variable instances converted to their native form.

Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty