Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed May 14, 2024
1 parent 25a99ec commit 55bce45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ivy/functional/backends/tensorflow/activations.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def gelu(
) -> Tensor:
if x.dtype in [tf.complex64, tf.complex128]:
return 0.5 * x * (1 + tf.math.tanh(0.7978845608 * (x + 0.044715 * x * x * x)))

return tf.nn.gelu(x, approximate)


Expand Down
1 change: 1 addition & 0 deletions ivy/functional/frontends/torch/pointwise_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def acos(input, *, out=None):
@with_unsupported_dtypes({"2.2 and below": ("float16",)}, "torch")
@to_ivy_arrays_and_back
def acosh(input, *, out=None):

return ivy.acosh(input, out=out)


Expand Down
1 change: 1 addition & 0 deletions ivy/functional/ivy/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def linear(
),
)


if ivy.exists(bias):
# OBS x [1]*len(IBS) x OF
bias_broadcast = ivy.reshape(
Expand Down

0 comments on commit 55bce45

Please sign in to comment.