Skip to content

Commit

Permalink
fix: Fixed passing key-word arguments in 2 functions (ivy-llc#27300)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sai-Suraj-27 authored Nov 20, 2023
1 parent f944f05 commit 9eaa54a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ivy/functional/backends/torch/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def depthwise_conv2d(
dilations = [dilations] * 2 if isinstance(dilations, int) else dilations
if data_format == "NHWC":
x = x.permute(0, 3, 1, 2)
filters = ivy.squeeze(filters, 3).to_native() if filters.ndim == 4 else filters
filters = ivy.squeeze(filters, axis=3).to_native() if filters.ndim == 4 else filters
filters = torch.unsqueeze(filters, -1)
dims_in = filters.shape[-2]
filters = filters.permute(2, 3, 0, 1)
Expand Down
2 changes: 1 addition & 1 deletion ivy/functional/frontends/jax/numpy/statistical.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def _nanquantile_unchecked(
):
"""Assumes that q is in [0, 1], and is an ndarray."""
if a.size == 0:
return ivy.nanmean(a, axis, out=out, keepdims=keepdims)
return ivy.nanmean(a, axis=axis, out=out, keepdims=keepdims)
return _ureduce(
a,
func=_nanquantile_ureduce_func,
Expand Down

0 comments on commit 9eaa54a

Please sign in to comment.