id int64 0 190k | prompt stringlengths 21 13.4M | docstring stringlengths 1 12k ⌀ |
|---|---|---|
147,089 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,090 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,091 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,092 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,093 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,094 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,095 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,096 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,097 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,098 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,099 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,100 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,101 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,102 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,103 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,104 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,105 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,106 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,107 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,108 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,109 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,110 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,111 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,112 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,113 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,114 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,115 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,116 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,117 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,118 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,119 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,120 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,121 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,122 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,123 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,124 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,125 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,126 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,127 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,128 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,129 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,130 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,131 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,132 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,133 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,134 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,135 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,136 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,137 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,138 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,139 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,140 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,141 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,142 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,143 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,144 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,145 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,146 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,147 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,148 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,149 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,150 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,151 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,152 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,153 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,154 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,155 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,156 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,157 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,158 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow import check_tensorflow_casting
from ivy.functional.frontends.tensorflow.func_wrapper import (
to_ivy_arrays_and_back,
map_raw_ops_alias,
to_ivy_dtype,
)
from ivy.func_wrapper import with_unsupporte... | null |
147,159 | import inspect
from typing import Callable, Dict, Optional
import functools
import ivy
import ivy.functional.frontends.tensorflow as frontend
import ivy.functional.frontends.numpy as np_frontend
def to_ivy_dtype(dtype):
if not dtype or isinstance(dtype, str):
return dtype
if isinstance(dtype, np_fronten... | null |
147,160 | import inspect
from typing import Callable, Dict, Optional
import functools
import ivy
import ivy.functional.frontends.tensorflow as frontend
import ivy.functional.frontends.numpy as np_frontend
def _update_kwarg_keys(kwargs: Dict, to_update: Dict) -> Dict:
"""Update the key-word only arguments dictionary.
Para... | Map the raw_ops function with its respective frontend alias function, as the implementations of raw_ops is way similar to that of frontend functions, except that only arguments are passed as key-word only in raw_ops functions. Parameters ---------- alias: The frontend function that is being referenced to as an alias to... |
147,161 | import inspect
from typing import Callable, Dict, Optional
import functools
import ivy
import ivy.functional.frontends.tensorflow as frontend
import ivy.functional.frontends.numpy as np_frontend
def inputs_to_ivy_arrays(fn: Callable) -> Callable:
def _inputs_to_ivy_arrays_tf(*args, **kwargs):
"""Convert all... | null |
147,162 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def elu(x, alpha=1.0):
zeros = ivy.zeros_like(x, dtype=ivy.dtype(x))
ones = ivy.ones_like(x, dtype=ivy.dtype(x))
alp... | null |
147,163 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def gelu(x, approximate=False):
return ivy.gelu(x, approximate=approximate) | null |
147,164 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def hard_sigmoid(x):
dtype_in = x.dtype
point_two = ivy.full(x.shape, 0.2)
point_five = ivy.full(x.shape, 0.5)
x... | null |
147,165 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def relu(x, alpha=0.0, max_value=None, threshold=0.0):
return ivy.relu(x) | null |
147,166 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def selu(x):
return ivy.selu(x) | null |
147,167 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
ACTIVATION_FUNCTIONS = [
"gelu",
"leaky_relu",
"log_softmax",
"relu",
"sigmoid",
"silu",
"softmax",
... | null |
147,168 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def softmax(x, axis=-1):
return ivy.softmax(x, axis=axis) | null |
147,169 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def softplus(x):
return ivy.softplus(x) | null |
147,170 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def softsign(x):
return ivy.divide(x, ivy.add(1, ivy.abs(x))) | null |
147,171 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def sigmoid(x):
return ivy.sigmoid(x)
def swish(x):
return ivy.multiply(x, ivy.sigmoid(x)) | null |
147,172 | import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
from ivy import with_supported_dtypes
def tanh(x):
return ivy.tanh(x) | null |
147,173 | import functools
import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import (
_ivy_array_to_tensorflow,
_to_ivy_array,
to_ivy_arrays_and_back,
)
def bias_add(x, bias, data_format=None):
if data_format is None:
data_format = ... | null |
147,174 | import functools
import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import (
_ivy_array_to_tensorflow,
_to_ivy_array,
to_ivy_arrays_and_back,
)
def depthwise_conv2d(
x,
depthwise_kernel,
strides=(1, 1),
padding="valid",... | null |
147,175 | import functools
import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import (
_ivy_array_to_tensorflow,
_to_ivy_array,
to_ivy_arrays_and_back,
)
def dot(x, y):
return ivy.dot(x, y) | null |
147,176 | import functools
import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import (
_ivy_array_to_tensorflow,
_to_ivy_array,
to_ivy_arrays_and_back,
)
def mean(x, axis=None, keepdims=False):
return tf_frontend.reduce_mean(x, axis, keepdim... | null |
147,177 | import functools
import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import (
_ivy_array_to_tensorflow,
_to_ivy_array,
to_ivy_arrays_and_back,
)
def _ivy_array_to_tensorflow(x):
def _to_ivy_array(x):
def rnn(
step_function,
... | null |
147,178 | import functools
import ivy
import ivy.functional.frontends.tensorflow as tf_frontend
from ivy.functional.frontends.tensorflow.func_wrapper import (
_ivy_array_to_tensorflow,
_to_ivy_array,
to_ivy_arrays_and_back,
)
def sum(x, axis=None, keepdims=False):
return tf_frontend.reduce_sum(x, axis, keepdims) | null |
147,179 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def _binary_matches(y_true, y_pred, threshold=0.5):
threshold = ivy.astype(ivy.array(threshold), y_pred.dtype)
y_pred = ivy.astype(ivy.greater(y_pred, threshold), y_pred.dtype)
return ivy.astype(
ivy.equal... | null |
147,180 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def binary_crossentropy(
y_true, y_pred, from_logits: bool = False, label_smoothing: float = 0.0
):
y_pred = ivy.asarray(y_pred)
y_true = ivy.asarray(y_true, dtype=y_pred.dtype)
label_smoothing = ivy.asarray(... | null |
147,181 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def binary_focal_crossentropy(
y_true, y_pred, gamma=2.0, from_logits=False, label_smoothing=0.0, axis=-1
):
y_pred = ivy.asarray(y_pred)
y_true = ivy.asarray(y_true, dtype=y_pred.dtype)
label_smoothing = ivy... | null |
147,182 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def _sparse_categorical_matches(y_true, y_pred):
reshape = False
y_true = ivy.array(y_true)
y_pred = ivy.array(y_pred)
y_true_org_shape = ivy.shape(y_true)
y_true_rank = y_true.ndim
y_pred_rank = y_pre... | null |
147,183 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def categorical_crossentropy(y_true, y_pred, from_logits=False, label_smoothing=0.0):
if from_logits:
y_pred = ivy.softmax(y_pred)
return ivy.mean(ivy.categorical_cross_entropy(y_true, y_pred, label_smoothing... | null |
147,184 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def cosine_similarity(y_true, y_pred):
y_pred = ivy.asarray(y_pred)
y_true = ivy.asarray(y_true)
if len(y_pred.shape) == len(y_pred.shape) and len(y_true.shape) == 2:
numerator = ivy.sum(y_true * y_pred,... | null |
147,185 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def _cond_convert_labels(y_true):
are_zeros = ivy.equal(y_true, 0.0)
are_ones = ivy.equal(y_true, 1.0)
is_binary = ivy.all(ivy.logical_or(are_zeros, are_ones))
# convert [0, 1] labels to [-1, 1]
if is_bina... | null |
147,186 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def kl_divergence(y_true, y_pred):
# clip to range but avoid div-0
y_true = ivy.clip(y_true, 1e-7, 1)
y_pred = ivy.clip(y_pred, 1e-7, 1)
return ivy.sum(y_true * ivy.log(y_true / y_pred), axis=-1).astype(y_tru... | null |
147,187 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def log_cosh(y_true, y_pred):
y_true = ivy.astype(y_true, y_pred.dtype)
diff = y_pred - y_true
log_val = ivy.astype(ivy.log(2.0), diff.dtype)
return ivy.mean(diff + ivy.softplus(-2.0 * diff) - log_val, axis=-... | null |
147,188 | import ivy
from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
def mean_absolute_error(y_true, y_pred):
return ivy.mean(ivy.abs(y_true - y_pred), axis=-1) | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.