id
int64
0
190k
prompt
stringlengths
21
13.4M
docstring
stringlengths
1
12k
147,589
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,590
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,591
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,592
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,593
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,594
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,595
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,596
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,597
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,598
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,599
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,600
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,601
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,602
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,603
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,604
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,605
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,606
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,607
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,608
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,609
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.array import Array import ivy.functional.frontends.jax.numpy as jnp_frontend from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inp...
null
147,610
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs import ivy from ivy.utils.exceptions import handle_exceptions from ivy.f...
null
147,611
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def mean(a, axis=None, dtype=None, out=None, keepdims=False, *, where=Non...
null
147,612
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def max(a, axis=None, out=None, keepdims=False, where=None): ret = iv...
null
147,613
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs import ivy from ivy.utils.exceptions import handle_exceptions from ivy.f...
null
147,614
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs import ivy from ivy.utils.exceptions import handle_exceptions from ivy.f...
null
147,615
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs import ivy from ivy.utils.exceptions import handle_exceptions from ivy.f...
null
147,616
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs import ivy from ivy.utils.exceptions import handle_exceptions from ivy.f...
null
147,617
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs import ivy from ivy.utils.exceptions import handle_exceptions from ivy.f...
null
147,618
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def cumprod(a, axis=None, dtype=None, out=None): if dtype is None: ...
null
147,619
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def cumsum(a, axis=0, dtype=None, out=None): import ivy from ivy.utils.e...
null
147,620
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def max(a, axis=None, out=None, keepdims=False, where=None): ret = iv...
null
147,621
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs import ivy from ivy.utils.exceptions import handle_exceptions from ivy.f...
null
147,622
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def min(a, axis=None, out=None, keepdims=False, where=None): ret = iv...
null
147,623
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def nanmean(a, axis=None, dtype=None, out=None, keepdims=False, *, where=...
null
147,624
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def std(a, axis=None, dtype=None, out=None, ddof=0, keepdims=False, *, wh...
null
147,625
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def var(a, axis=None, dtype=None, out=None, ddof=0, keepdims=False, *, wh...
null
147,626
import ivy from ivy.func_wrapper import with_unsupported_dtypes from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, handle_jax_dtype, ) from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs def max(a, axis=None, out=None, keepdims=False, where=None): ret = iv...
null
147,627
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,628
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes def ...
null
147,629
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes def ...
null
147,630
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,631
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,632
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,633
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,634
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,635
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,636
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,637
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,638
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes def ...
null
147,639
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,640
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,641
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,642
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes def ...
null
147,643
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes def ...
null
147,644
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes def ...
null
147,645
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,646
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes cla...
null
147,647
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,648
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,649
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,650
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes def ...
null
147,651
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes imp...
null
147,652
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from ivy.functional.frontends.jax.numpy import ( promote_types_of_jax_inputs as promote_jax_arrays, ) from ivy.utils.exceptions import IvyNotImplementedException from ivy.func_wrapper import with_unsupported_dtypes def ...
null
147,653
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version from ivy.functional.fron...
null
147,654
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version from ivy.functional.fron...
null
147,655
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version from ivy.functional.fron...
null
147,656
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version from ivy.functional.fron...
null
147,657
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version from ivy.functional.fron...
null
147,658
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version from ivy.functional.fron...
null
147,659
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version from ivy.functional.fron...
null
147,660
from ivy.functional.frontends.jax.numpy import asarray from ivy.functional.frontends.numpy import ( dtype, generic, number, inexact, complexfloating, floating, integer, signedinteger, unsignedinteger, ) class _ScalarMeta(type): def __hash__(self): return hash(self.dtype.t...
null
147,661
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,662
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,663
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,664
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,665
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,666
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,667
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,668
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,669
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,670
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,671
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,672
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,673
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,674
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,675
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,676
import ivy from ivy.functional.frontends.jax import Array from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs from ivy.functional.frontends.nump...
null
147,677
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.jax.numpy import ( jax_numpy_casting_table, promote_types_jax, ) from ivy.functional.frontends.numpy import dtype as np_dtype from ivy import with_supported_dtypes import ivy from ivy.utils.exc...
null
147,678
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.jax.numpy import ( jax_numpy_casting_table, promote_types_jax, ) from ivy.functional.frontends.numpy import dtype as np_dtype from ivy import with_supported_dtypes import ivy from ivy.utils.exc...
null
147,679
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.jax.numpy import ( jax_numpy_casting_table, promote_types_jax, ) from ivy.functional.frontends.numpy import dtype as np_dtype from ivy import with_supported_dtypes import ivy from ivy.utils.exc...
null
147,680
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.jax.numpy import ( jax_numpy_casting_table, promote_types_jax, ) from ivy.functional.frontends.numpy import dtype as np_dtype from ivy import with_supported_dtypes import ivy from ivy.utils.exc...
null
147,681
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.jax.numpy import ( jax_numpy_casting_table, promote_types_jax, ) from ivy.functional.frontends.numpy import dtype as np_dtype from ivy import with_supported_dtypes def promote_types_jax( ty...
null
147,682
import ivy from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.jax.numpy import ( jax_numpy_casting_table, promote_types_jax, ) from ivy.functional.frontends.numpy import dtype as np_dtype from ivy import with_supported_dtypes import ivy from ivy.utils.exc...
null
147,683
import ivy import ivy.functional.frontends.jax as jax_frontend from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version from ivy.functional.front...
null
147,684
def tree_leaves(tree, is_leaf=None): # todo: is_leaf if isinstance(tree, (tuple, list)): new_struc = [] for child in tree: new_struc += tree_leaves(child) return new_struc elif isinstance(tree, dict): new_struc = [] for key in sorted(tree): n...
null
147,685
def tree_map(f, tree, *rest, is_leaf=None): # todo: is_leaf is_tuple = isinstance(tree, tuple) if is_tuple: tree = list(tree) if isinstance(tree, list): for idx, elem in enumerate(tree): curr_r = [r[idx] for r in rest] if rest else [] tree[idx] = tree_map(f, tr...
null
147,686
import functools from typing import Callable import inspect import ivy import ivy.functional.frontends.jax as jax_frontend import ivy.functional.frontends.numpy as np_frontend def handle_jax_dtype(fn: Callable) -> Callable: @functools.wraps(fn) def _handle_jax_dtype(*args, dtype=None, **kwargs): if len...
null
147,687
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_native_arrays, ) from ivy.func_wrapper import outputs_to_ivy_arrays from ivy.functional.frontends import set_frontend_to_specific_version if ivy.is_local(): module = ivy.utils._importlib.import_cache[_...
null
147,688
import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, outputs_to_native_arrays, ) from ivy.func_wrapper import outputs_to_ivy_arrays from ivy.functional.frontends import set_frontend_to_specific_version if ivy.is_local(): module = ivy.utils._importlib.import_cache[_...
null