id int64 0 190k | prompt stringlengths 21 13.4M | docstring stringlengths 1 12k ⌀ |
|---|---|---|
150,590 | from typing import Optional
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_device_and_dtypes,
with_supported_dtypes,
)
from . import backend_version
def poisson_nll_loss(
input: torch.Tensor,
target: torch.Tensor,
*,
log_input: bool = True,
full: boo... | null |
150,591 | from typing import Optional
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_device_and_dtypes,
with_supported_dtypes,
)
from . import backend_version
def hinge_embedding_loss(
input: torch.Tensor,
target: torch.Tensor,
*,
margin: float = 1.0,
reductio... | null |
150,592 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def logit(
x: torch.Tensor,
/,
*,
eps: Optional[float] = None,
complex_mode: Literal["split", "magnitude", "jax"] = "jax",
out: ... | null |
150,593 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def thresholded_relu(
x: torch.Tensor,
/,
*,
threshold: Optional[Union[int, float]] = None,
out: Optional[torch.Tensor] = None,
) ->... | null |
150,594 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def relu6(
x: torch.Tensor, /, *, complex_mode="jax", out: Optional[torch.Tensor] = None
) -> torch.Tensor:
return torch.nn.functional.relu6(x) | null |
150,595 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def logsigmoid(
input: torch.Tensor, /, *, complex_mode="jax", out: Optional[torch.Tensor] = None
) -> torch.Tensor:
if torch.is_complex(input):... | null |
150,596 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def selu(x: torch.Tensor, /, *, out: Optional[torch.Tensor] = None) -> torch.Tensor:
ret = torch.nn.functional.selu(x)
if ivy.exists(out):
... | null |
150,597 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def silu(x: torch.Tensor, /, *, out: Optional[torch.Tensor] = None) -> torch.Tensor:
return torch.nn.functional.silu(x) | null |
150,598 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def elu(
x: torch.Tensor, /, *, alpha: float = 1.0, out: Optional[torch.Tensor] = None
) -> torch.Tensor:
ret = torch.nn.functional.elu(x, alpha... | null |
150,599 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def celu(
x: torch.Tensor,
/,
*,
alpha: float = 1.0,
complex_mode="jax",
out: Optional[torch.Tensor] = None,
) -> torch.Tensor:
... | null |
150,600 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def hardtanh(
x: torch.Tensor,
/,
*,
max_val: float = 1.0,
min_val: float = -1.0,
out: Optional[torch.Tensor] = None,
) -> torch... | null |
150,601 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def tanhshrink(
x: torch.Tensor, /, *, out: Optional[torch.Tensor] = None
) -> torch.Tensor:
ret = torch.nn.functional.tanhshrink(x)
if ivy.... | null |
150,602 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def threshold(
x: torch.Tensor,
/,
*,
threshold: float,
value: float,
out: Optional[torch.Tensor] = None,
) -> torch.Tensor:
... | null |
150,603 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def softshrink(
x: torch.Tensor, /, *, lambd: float = 0.5, out: Optional[torch.Tensor] = None
) -> torch.Tensor:
ret = torch.nn.functional.softs... | null |
150,604 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def scaled_tanh(
x: torch.Tensor,
/,
*,
alpha: float = 1.7159,
beta: float = 0.67,
out: Optional[torch.Tensor] = None,
) -> torc... | null |
150,605 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def hardshrink(
x: torch.Tensor, /, *, lambd: float = 0.5, out: Optional[torch.Tensor] = None
) -> torch.Tensor:
ret = torch.nn.functional.hards... | null |
150,606 | from typing import Optional, Union, Literal
import torch
import torch.nn
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from . import backend_version
def hardsilu(x: torch.Tensor, /, *, out: Optional[torch.Tensor] = None) -> torch.Tensor:
ret = torch.nn.functional.hardswish(x)
if ivy.exists(ou... | null |
150,607 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,608 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,609 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,610 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,611 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,612 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,613 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,614 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,615 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,616 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,617 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,618 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,619 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,620 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,621 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,622 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,623 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,624 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,625 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,626 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,627 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,628 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,629 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,630 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,631 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,632 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,633 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,634 | from typing import (
Iterable,
Optional,
Union,
Sequence,
Tuple,
NamedTuple,
List,
Literal,
Callable,
Any,
)
from numbers import Number
from collections import namedtuple
import torch
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
handl... | null |
150,635 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,636 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,637 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,638 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,639 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,640 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,641 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,642 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,643 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,644 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,645 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,646 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,647 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,648 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,649 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,650 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,651 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,652 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,653 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,654 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,655 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,656 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,657 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,658 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,659 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,660 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,661 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,662 | from typing import Optional, Union, Tuple, List, Sequence
from numbers import Number
import torch
import ivy
from ivy import promote_types_of_inputs
from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
from ivy.func_wrapper import (
with_unsupported_dtypes,
with_supported_dtypes,
)
from .. i... | null |
150,663 | from typing import Optional, Union, Sequence
import torch
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from .. import backend_version
from ivy.functional.ivy.random import (
_check_bounds_and_get_shape,
_check_shapes_broadcastable,
)
def dirichlet(
alpha: Union[torch.tensor, float, Seque... | null |
150,664 | from typing import Optional, Union, Sequence
import torch
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from .. import backend_version
from ivy.functional.ivy.random import (
_check_bounds_and_get_shape,
_check_shapes_broadcastable,
)
def _check_bounds_and_get_shape(low, high, shape):
if ... | null |
150,665 | from typing import Optional, Union, Sequence
import torch
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from .. import backend_version
from ivy.functional.ivy.random import (
_check_bounds_and_get_shape,
_check_shapes_broadcastable,
)
def _check_bounds_and_get_shape(low, high, shape):
if ... | null |
150,666 | from typing import Optional, Union, Sequence
import torch
import ivy
from ivy.func_wrapper import with_unsupported_dtypes
from .. import backend_version
from ivy.functional.ivy.random import (
_check_bounds_and_get_shape,
_check_shapes_broadcastable,
)
def _check_shapes_broadcastable(out, inp):
if out is n... | null |
150,667 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,668 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,669 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,670 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,671 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,672 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,673 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,674 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,675 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,676 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,677 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,678 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,679 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,680 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,681 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,682 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,683 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,684 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,685 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,686 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,687 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,688 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
150,689 | from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
import torch
import math
import ivy
from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
from . import backend_version
from ivy.functional.ivy.layers import (
_handle_padding,
_get_num_padded_values,
_validat... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.