id
int64
0
190k
prompt
stringlengths
21
13.4M
docstring
stringlengths
1
12k
146,488
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh def rrelu( x, /, *, lower=0.125, upper=0.3333333333333333, training=False, ...
null
146,489
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh def selu( x, /, *, alpha=1.6732632423543772848170429916717, scale=1.0507009873554...
null
146,490
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh def silu(x, name=None): return ivy.silu(x)
null
146,491
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh def softmax_(x, axis=-1, dtype=None, name=None): ret = ivy.softmax(x, axis=axis) ivy.inplace_...
null
146,492
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh def softshrink( x, /, *, threshold=0.5, name=None, ): low = ivy.where(ivy.les...
null
146,493
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh def softsign( x, /, *, name=None, ): return ivy.divide(x, ivy.add(1, ivy.abs(x)))
null
146,494
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh def swish(x, name=None): return ivy.multiply(x, ivy.sigmoid(x))
null
146,495
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh tanh = paddle_tanh def tanh_(x, name=None): ret = ivy.tanh(x) ivy.inplace_update(x, ret) ...
null
146,496
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.frontends.paddle.tensor.math import tanh as paddle_tanh tanh = paddle_tanh def tanhshrink( x, /, *, name=None, ): return ivy.subtract(x, ...
null
146,497
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def _get_reduction_func(reduction): if ...
null
146,498
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def cosine_embedding_loss( input1, inp...
null
146,499
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def dice_loss(input, label, epsilon=0.0000...
null
146,500
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def hinge_embedding_loss(input, label, mar...
null
146,501
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def kl_div( input, label, redu...
null
146,502
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def _get_reduction_func(reduction): def l1...
null
146,503
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def log_loss(input, label, epsilon=0.0001,...
null
146,504
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def _get_reduction_func(reduction): if ...
null
146,505
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def _get_reduction_func(reduction): if ...
null
146,506
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def _get_reduction_func(reduction): if ...
null
146,507
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) The provided code snippet includes necessa...
Refer https://pytorch.org/docs/stable/generated/torch.nn.NLLLoss.html#torch.nn.NLLLoss for more on NLL(Negative log likelihood) Loss.
146,508
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def sigmoid_focal_loss( logit, lab...
null
146,509
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def smooth_l1_loss( input, label, ...
null
146,510
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def softmax_with_cross_entropy( logits...
null
146,511
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def square_error_cost(input, label): r...
null
146,512
import ivy from ivy.func_wrapper import with_supported_dtypes import ivy.functional.frontends.paddle as paddle from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends.paddle.func_wrapper import ( inputs_to_ivy_arrays, to_ivy_arrays_and_back, ) def _get_reduction_func(reduction): def _pa...
null
146,513
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper from ivy.func_wrapper import with_unsupported_dtypes def adaptive_avg_pool1d(x, output_size, name=No...
null
146,514
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper from ivy.func_wrapper import with_unsupported_dtypes def adaptive_avg_pool2d(x, output_size, data_fo...
null
146,515
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper from ivy.func_wrapper import with_unsupported_dtypes def adaptive_avg_pool3d(x, output_size, data_fo...
null
146,516
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper from ivy.func_wrapper import with_unsupported_dtypes def adaptive_max_pool2d(x, output_size, return_...
null
146,517
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper from ivy.func_wrapper import with_unsupported_dtypes def _broadcast_pooling_helper(x, pool_dims: str...
null
146,518
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper from ivy.func_wrapper import with_unsupported_dtypes def _broadcast_pooling_helper(x, pool_dims: str...
null
146,519
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper from ivy.func_wrapper import with_unsupported_dtypes def _broadcast_pooling_helper(x, pool_dims: str...
null
146,520
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper from ivy.func_wrapper import with_unsupported_dtypes def max_unpool1d( x, indices, kerne...
null
146,521
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def cosine_similarity(x1, x2, *, axis=1, eps=1e-08): if len(x1.shape) == len(x2.shape) and len(x2.shape) >= 2: numerator = ivy.sum(x1 * x2, axis=axis) x1_squ...
null
146,522
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def get_mask(shape, device, prob, seed=None): mask = ivy.where( ivy.random_uniform(shape=shape, device=device, seed=seed) < prob, 0.0, 1.0, ) ...
null
146,523
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def dropout2d(x, *, p=0.5, training=True, data_format="NCHW", name=None): return ivy.dropout2d(x, p, training=training, data_format=data_format)
null
146,524
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def dropout3d(x, p=0.5, training=True, data_format="NCDHW", name=None): return ivy.dropout3d(x, p, training=training, data_format=data_format)
null
146,525
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def interpolate( x, size=None, scale_factor=None, mode="nearest", align_corners=False, align_mode=0, data_format="NCHW", name=None, ): return...
null
146,526
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def linear(x, weight, bias=None, name=None): weight = ivy.swapaxes(weight, -1, -2) return ivy.linear(x, weight, bias=bias)
null
146,527
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def unfold(x, kernel_sizes, strides=1, paddings=0, dilations=1, name=None): # Input checking if isinstance(kernel_sizes, int): kernel_sizes = [kernel_sizes, kern...
null
146,528
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def zeropad2d(x, padding, data_format="NCHW", name=None): if ivy.is_array(padding): padding = padding.to_list() if isinstance(padding, int): padding = [p...
null
146,529
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,530
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,531
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def add(x, y, name=None): return ivy.add(x, y) {"2.6.0 and below": ("bool", "unsigned", "int8"...
null
146,532
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,533
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def min(x, axis=None, keepdim=False, name=None): import ivy from ivy.utils.exceptions import handle_e...
null
146,534
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,535
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,536
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,537
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,538
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,539
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,540
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,541
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,542
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,543
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,544
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,545
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,546
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,547
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def remainder(x, y, name=None): return ivy.remainder(x, y) { "2.6.0 and below": { ...
null
146,548
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,549
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,550
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def subtract(x, y, name=None): def trunc(input, name=None): import ivy from ivy.utils.exceptions impo...
null
146,551
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,552
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,553
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,554
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,555
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,556
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,557
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,558
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,559
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,560
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,561
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,562
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def amax(x, axis=None, keepdims=False): if axis is None: return ivy.max(x) if isinstan...
null
146,563
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,564
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,565
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,566
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,567
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def remainder(x, y, name=None): import ivy from ivy.utils.exceptions import handle_exceptions from iv...
null
146,568
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def sqrt(x, name=None): return ivy.sqrt(x) import ivy from ivy.utils.exceptions import handle_exc...
null
146,569
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,570
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back def add(x, y, name=None): def divide(x, y, name=None): def exp(x, name=None): def multiply(x, y, name=...
null
146,571
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,572
import ivy from ivy.func_wrapper import ( with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes, ) from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import se...
null
146,573
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version if ivy.is_local(): ...
null
146,574
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version if ivy.is_local(): ...
null
146,575
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version if ivy.is_local(): ...
null
146,576
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version if ivy.is_local(): ...
null
146,577
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version if ivy.is_local(): ...
null
146,578
import ivy from ivy.func_wrapper import with_supported_dtypes from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.frontends import set_frontend_to_specific_version if ivy.is_local(): ...
null
146,579
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.fro...
null
146,580
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.fro...
null
146,581
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.fro...
null
146,582
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.fro...
null
146,583
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) def diagflat(x, offset=0, name=None): import ivy from ivy.utils.exceptions import han...
null
146,584
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.fro...
null
146,585
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.fro...
null
146,586
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.fro...
null
146,587
import ivy from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes import ivy.functional.frontends.paddle as paddle_frontend from ivy.functional.frontends.paddle.func_wrapper import ( to_ivy_arrays_and_back, ) import ivy from ivy.utils.exceptions import handle_exceptions from ivy.functional.fro...
null