id int64 0 190k | prompt stringlengths 21 13.4M | docstring stringlengths 1 12k ⌀ |
|---|---|---|
147,389 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def log(x):
return iv... | null |
147,390 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def log1p(x):
return ... | null |
147,391 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def lt(x, y):
return ... | null |
147,392 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def max(x: Any, y: Any):
... | null |
147,393 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def min(x, y):
return... | null |
147,394 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def mul(x, y):
return... | null |
147,395 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def ne(x, y):
return ... | null |
147,396 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def neg(x):
return iv... | null |
147,397 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def nextafter(x1, x2):
... | null |
147,398 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def pad(operand, padding_... | null |
147,399 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def real(x):
return i... | null |
147,400 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def frontend_outputs_to_i... | null |
147,401 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def abs(x):
return ivy... | null |
147,402 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def reshape(operand, new_... | null |
147,403 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def rev(operand, dimensio... | null |
147,404 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def abs(x):
return ivy... | null |
147,405 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def reciprocal(x):
ret... | null |
147,406 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def select(pred, on_true,... | null |
147,407 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def shift_left(x, y):
... | null |
147,408 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def shift_right_logical(x... | null |
147,409 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def sin(x):
return iv... | null |
147,410 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def sinh(x):
return i... | null |
147,411 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def slice(operand, start_i... | null |
147,412 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def sort(operand, dimensi... | null |
147,413 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def square(x):
return... | null |
147,414 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def squeeze(array, dimens... | null |
147,415 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def sub(x, y):
return... | null |
147,416 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def tan(x):
return iv... | null |
147,417 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def tie_in(x, y):
ret... | null |
147,418 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def top_k(operand, k):
... | null |
147,419 | from typing import Any
import itertools
import string
import builtins
import ivy
from ivy.func_wrapper import with_supported_dtypes
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_unsupported_dtypes, frontend_outputs_to_ivy_arrays
def transpose(operand, pe... | null |
147,420 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _len(x):
shape = ivy.shape(x)
return 0 if len(shape) == 0 else shape[0] | null |
147,421 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def celu(x, alpha=1.0):
return ivy.celu(x, alpha=alpha) | null |
147,422 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _batch_promotion(*args, default_dtype="float64"):
# Promote all types
promote_types = set()
for arg in args:
if args is None:
continue
if... | null |
147,423 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def gelu(x, approximate=True):
return ivy.gelu(x, approximate=approximate, complex_mode="jax") | null |
147,424 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def sigmoid(x):
def glu(x, axis=-1):
size = x.shape[axis]
ivy.utils.assertions.check_equal(
size % 2, 0, message="axis size must be divisible by 2", as_array=False
... | null |
147,425 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _batch_promotion(*args, default_dtype="float64"):
# Promote all types
promote_types = set()
for arg in args:
if args is None:
continue
if... | null |
147,426 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _batch_promotion(*args, default_dtype="float64"):
# Promote all types
promote_types = set()
for arg in args:
if args is None:
continue
if... | null |
147,427 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def hard_swish(x):
res = (x * ivy.minimum(ivy.maximum(x + 3, 0.0), 6.0)) / 6
return ivy.asarray(res, dtype=x.dtype) | null |
147,428 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def hard_tanh(x):
n1 = -1
if "uint" in str(x.dtype):
dtype = x.dtype
# tensorflow can't use -1 for uint
n1 = ivy.asarray((1 << ivy.dtype_bits(dtype)... | null |
147,429 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _type_conversion_64(x):
# Does type conversion, floats maps to float,
# complex maps to complex, everything else to float64
x = ivy.asarray(x)
dtype = ivy.as_ivy... | null |
147,430 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _type_conversion(x):
# Does type conversion, floats maps to float,
# complex maps to complex,
# 64bit dtype to float64, everything else to float32
x = ivy.asarra... | null |
147,431 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def log_softmax(x, axis=-1):
return ivy.log_softmax(x, axis=axis) | null |
147,432 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _batch_promotion(*args, default_dtype="float64"):
# Promote all types
promote_types = set()
for arg in args:
if args is None:
continue
if... | null |
147,433 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _batch_promotion(*args, default_dtype="float64"):
# Promote all types
promote_types = set()
for arg in args:
if args is None:
continue
if... | null |
147,434 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def one_hot(x, num_classes, *, dtype=None, axis=-1):
dtype = ivy.float64 if dtype is None else ivy.as_ivy_dtype(dtype)
return ivy.one_hot(x, num_classes, axis=axis, dtype=d... | null |
147,435 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def relu(x):
return ivy.relu(x, complex_mode="jax") | null |
147,436 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _type_conversion_64(x):
# Does type conversion, floats maps to float,
# complex maps to complex, everything else to float64
x = ivy.asarray(x)
dtype = ivy.as_ivy... | null |
147,437 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _type_conversion_64(x):
def selu(x):
x = _type_conversion_64(x)
return ivy.selu(x) | null |
147,438 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _type_conversion(x):
# Does type conversion, floats maps to float,
# complex maps to complex,
# 64bit dtype to float64, everything else to float32
x = ivy.asarra... | null |
147,439 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _type_conversion(x):
# Does type conversion, floats maps to float,
# complex maps to complex,
# 64bit dtype to float64, everything else to float32
x = ivy.asarra... | null |
147,440 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def softmax(x, axis=-1, where=None, initial=None):
return ivy.softmax(x, axis=axis) | null |
147,441 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def _type_conversion(x):
# Does type conversion, floats maps to float,
# complex maps to complex,
# 64bit dtype to float64, everything else to float32
x = ivy.asarra... | null |
147,442 | import ivy
from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
from ivy.func_wrapper import with_supported_dtypes
def swish(x):
ret = x / (1 + ivy.exp(-x))
return ivy.asarray(ret, dtype=x.dtype) | null |
147,443 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.front... | null |
147,444 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.front... | null |
147,445 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.front... | null |
147,446 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.front... | null |
147,447 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.front... | null |
147,448 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.front... | null |
147,449 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
def indices(dimensions, dtype=int, sparse=False):
import ivy
from ivy.utils.exceptions ... | null |
147,450 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.front... | null |
147,451 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
def tril_indices(n, k=0, m=None):
return ivy.tril_indices(n, m, k)
import ivy
from ... | null |
147,452 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
def triu_indices(n, k=0, m=None):
return ivy.triu_indices(n, m, k)
import ivy
from ... | null |
147,453 | import inspect
import abc
import ivy
from ivy.functional.frontends.jax.func_wrapper import (
to_ivy_arrays_and_back,
)
from .creation import linspace, arange, array
from .manipulations import transpose, concatenate, expand_dims
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.front... | null |
147,454 | import ivy
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 split(ary, indices_or_sections, axis=0):
if isinstance(indices_or_sections, (list, tuple, ivy.Array)):
indices... | null |
147,455 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,456 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,457 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,458 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,459 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,460 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,461 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,462 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,463 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,464 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,465 | import ivy
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 reshape(a, newshape, order="C"):
return ivy.reshape(a, shape=newshape, order=order)
import ivy
from ivy.utils.excepti... | null |
147,466 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,467 | import ivy
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 expand_dims(a, axis):
return ivy.expand_dims(a, axis=axis)
import ivy
from ivy.utils.exceptions import handle_excepti... | null |
147,468 | import ivy
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 append(arr, values, axis=None):
if axis is None:
return ivy.concat((ivy.flatten(arr), ivy.flatten(values)), ax... | null |
147,469 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,470 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,471 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,472 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,473 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,474 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,475 | import ivy
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 append(arr, values, axis=None):
import ivy
from ivy.utils.exceptions import handle_exceptions
from ivy.functional.fronten... | null |
147,476 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,477 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,478 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,479 | import ivy
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 reshape(a, newshape, order="C"):
return ivy.reshape(a, shape=newshape, order=order)
import ivy
from ivy.utils.excepti... | null |
147,480 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,481 | import ivy
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 reshape(a, newshape, order="C"):
return ivy.reshape(a, shape=newshape, order=order)
import ivy
from ivy.utils.excepti... | null |
147,482 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,483 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,484 | import ivy
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 reshape(a, newshape, order="C"):
return ivy.reshape(a, shape=newshape, order=order)
import ivy
from ivy.utils.excepti... | null |
147,485 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,486 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,487 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
147,488 | import ivy
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.functional.frontends import set_frontend_to_specific_v... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.