Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual task: generalization of aliases testing #5892

Merged
merged 15 commits into from
Oct 24, 2022

Conversation

fnhirwa
Copy link
Contributor

@fnhirwa fnhirwa commented Oct 19, 2022

Hello,
Generally, alias functions have the same behavior as the original functions.
To generalize their tests and to make sure that we are testing them also. I modified the test_frontend_function and when we are testing the original function we will test all its aliases in that frontend by providing the namespace to that alias.

The tests are done the same way we test for frontend functions. I included some code lines to inner functions to avoid repetition of statements and added two main parameters to the helper function.
has_aliases: When the function has aliases we will set it to True
all_aliases: a list that holds the namespaces of all aliases to that function.

Whenever we make an alias we will go and update the unit test of that original function to include the namespace of the newly introduce alias.

Thanks🙂

@fnhirwa fnhirwa requested a review from djl11 October 19, 2022 07:47
@ivy-leaves ivy-leaves added NumPy Frontend Developing the NumPy Frontend, checklist triggered by commenting add_frontend_checklist TensorFlow Frontend Developing the TensorFlow Frontend, checklist triggered by commenting add_frontend_checklist PyTorch Frontend Developing the PyTorch Frontend, checklist triggered by commenting add_frontend_checklist labels Oct 19, 2022
Copy link
Contributor

@djl11 djl11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, just a small request to remove a redundant extra argument. Will request another review from @CatB1t and @sherry30 given that they have worked on this part of the code quite a lot.

ivy_tests/test_ivy/helpers/function_testing.py Outdated Show resolved Hide resolved
@djl11 djl11 requested review from sherry30 and CatB1t October 21, 2022 18:11
@djl11
Copy link
Contributor

djl11 commented Oct 21, 2022

Once @sherry30 and @CatB1t have given the green light, it's good to merge!

Copy link
Contributor

@CatB1t CatB1t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one question, why do we need to test the function again? when assigning an alias basically both names will bind to the same memory location, so for example mean_absolute_error and mae will bind to function 0x01 in memory, it doesn't do any copying or anything. I'd suggest just testing if alias is correctly binding to the original function and it's not misspelled or assigned to another function by mistake.

Copy link
Contributor Author

@fnhirwa fnhirwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well from what I see we want to make sure that the aliases from ivy frontends are providing the same results as the corresponding one from the target framework, and you're right the memory binding for both mean_absolute_error and mae will be the same as they're one function technically. The reason, why I think we can do the testing again, is for example in the TensorFlow frontend we can have tf.eig and tf.linalg.eig which I think when we implement one as alias of the other we will need to test our function against both tf.eig and tf.linalg.eig
Thanks:)

@fnhirwa fnhirwa requested a review from CatB1t October 22, 2022 14:04
@CatB1t
Copy link
Contributor

CatB1t commented Oct 23, 2022

@hirwa-nshuti I get your point on making sure the alias actually are aliases, but in that case we can compute 1 more and do 3 arrays comparison, instead of running 1 more redundant test. Regarding the second example, I'm not sure how tf.linalg.eig can be an alias for tf.eig, but even though, we shouldn't run our function twice.

@CatB1t
Copy link
Contributor

CatB1t commented Oct 24, 2022

Anyways, I think the optimization can be done later as only few functions are affected by that double-run instances, should keep in a TODO list though, once @sherry30 gives the greenlight feel free to merge 👍🏻

Copy link
Contributor

@sherry30 sherry30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

Just a small change requested, the rest looks good to me.
Feel free to merge after this change.
Thanks

ivy_tests/test_ivy/helpers/function_testing.py Outdated Show resolved Hide resolved
@fnhirwa fnhirwa merged commit e3a2dab into ivy-llc:master Oct 24, 2022
@fnhirwa fnhirwa deleted the alias-test branch October 25, 2022 10:15
MuokaPWambua added a commit to MuokaPWambua/ivy that referenced this pull request Oct 25, 2022
add dct frontend api

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

JAX

j

jax

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

add dct frontend api

add dct frontend api

add dct frontend api

reformat

reformat

reformat

reformat

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

flake git linter error

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added .idea folder to .gitignore

added .idea folder to .gitignore

added first draft of Related Work section to the docs.

modified gitignore

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

revert

small fix to README.rst.

revert and fixed conflict

fix: import

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

Revert "add dct frontend api"

This reverts commit 2d249d0.

Revert "add dct frontend api"

This reverts commit 2d249d0.

commit

Revert "add dct frontend api"

This reverts commit 2d249d0.
MuokaPWambua added a commit to MuokaPWambua/ivy that referenced this pull request Oct 25, 2022
# This is the 1st commit message:

add dct frontend api

add dct frontend api

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

JAX

j

jax

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

add dct frontend api

add dct frontend api

add dct frontend api

reformat

reformat

reformat

reformat

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

flake git linter error

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added .idea folder to .gitignore

added .idea folder to .gitignore

added first draft of Related Work section to the docs.

modified gitignore

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

revert

small fix to README.rst.

revert and fixed conflict

fix: import

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

Revert "add dct frontend api"

This reverts commit 2d249d0.

Revert "add dct frontend api"

This reverts commit 2d249d0.

commit

Revert "add dct frontend api"

This reverts commit 2d249d0.

# This is the commit message #2:

Update test_tensor.py
# This is the commit message ivy-llc#3:

Update test_tensor.py
# This is the commit message ivy-llc#4:

Update Tensor.py
# This is the commit message ivy-llc#5:

Update test_tensor.py
# This is the commit message ivy-llc#6:

Update test_tensor.py
MuokaPWambua added a commit to MuokaPWambua/ivy that referenced this pull request Oct 25, 2022
author MuokaPWambua <muokapwambua@gmail.com> 1666703252 +0300
committer MuokaPWambua <muokapwambua@gmail.com> 1666703898 +0300

parent a6def1e
author MuokaPWambua <muokapwambua@gmail.com> 1666703252 +0300
committer MuokaPWambua <muokapwambua@gmail.com> 1666703730 +0300

add dct frontend api

add dct frontend api

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

JAX

j

jax

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

add dct frontend api

add dct frontend api

add dct frontend api

reformat

reformat

reformat

reformat

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

flake git linter error

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added .idea folder to .gitignore

added .idea folder to .gitignore

added first draft of Related Work section to the docs.

modified gitignore

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

revert

small fix to README.rst.

revert and fixed conflict

fix: import

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

Revert "add dct frontend api"

This reverts commit 2d249d0.

Revert "add dct frontend api"

This reverts commit 2d249d0.

commit

Revert "add dct frontend api"

This reverts commit 2d249d0.

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

j

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added first draft of Related Work section to the docs.

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

small fix to README.rst.

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

small fixes to Graph Tracers section of Related Work in the docs.

rebase
MuokaPWambua added a commit to MuokaPWambua/ivy that referenced this pull request Oct 25, 2022
author MuokaPWambua <muokapwambua@gmail.com> 1666703252 +0300
committer MuokaPWambua <muokapwambua@gmail.com> 1666703898 +0300

parent a6def1e
author MuokaPWambua <muokapwambua@gmail.com> 1666703252 +0300
committer MuokaPWambua <muokapwambua@gmail.com> 1666703730 +0300

add dct frontend api

add dct frontend api

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

JAX

j

jax

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

add dct frontend api

add dct frontend api

add dct frontend api

reformat

reformat

reformat

reformat

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

flake git linter error

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added .idea folder to .gitignore

added .idea folder to .gitignore

added first draft of Related Work section to the docs.

modified gitignore

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

revert

small fix to README.rst.

revert and fixed conflict

fix: import

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

Revert "add dct frontend api"

This reverts commit 2d249d0.

Revert "add dct frontend api"

This reverts commit 2d249d0.

commit

Revert "add dct frontend api"

This reverts commit 2d249d0.

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

j

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added first draft of Related Work section to the docs.

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

small fix to README.rst.

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

small fixes to Graph Tracers section of Related Work in the docs.

rebase
MuokaPWambua added a commit to MuokaPWambua/ivy that referenced this pull request Oct 25, 2022
add dct frontend api

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

JAX

j

jax

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

add dct frontend api

add dct frontend api

add dct frontend api

reformat

reformat

reformat

reformat

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

flake git linter error

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added .idea folder to .gitignore

added .idea folder to .gitignore

added first draft of Related Work section to the docs.

modified gitignore

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

revert

small fix to README.rst.

revert and fixed conflict

fix: import

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

Revert "add dct frontend api"

This reverts commit 2d249d0.

Revert "add dct frontend api"

This reverts commit 2d249d0.

commit

Revert "add dct frontend api"

This reverts commit 2d249d0.

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

parent a6def1e
author MuokaPWambua <muokapwambua@gmail.com> 1666703252 +0300
committer MuokaPWambua <muokapwambua@gmail.com> 1666703898 +0300

parent a6def1e
author MuokaPWambua <muokapwambua@gmail.com> 1666703252 +0300
committer MuokaPWambua <muokapwambua@gmail.com> 1666703730 +0300

add dct frontend api

add dct frontend api

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

JAX

j

jax

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

add dct frontend api

add dct frontend api

add dct frontend api

reformat

reformat

reformat

reformat

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

flake git linter error

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added .idea folder to .gitignore

added .idea folder to .gitignore

added first draft of Related Work section to the docs.

modified gitignore

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

revert

small fix to README.rst.

revert and fixed conflict

fix: import

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

Revert "add dct frontend api"

This reverts commit 2d249d0.

Revert "add dct frontend api"

This reverts commit 2d249d0.

commit

Revert "add dct frontend api"

This reverts commit 2d249d0.

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

j

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <mohamad4danesh@gmail.com>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“casp3rmail@gmail.com”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <simonegordon12@icloud.com>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added first draft of Related Work section to the docs.

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

small fix to README.rst.

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

small fixes to Graph Tracers section of Related Work in the docs.

rebase

commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NumPy Frontend Developing the NumPy Frontend, checklist triggered by commenting add_frontend_checklist PyTorch Frontend Developing the PyTorch Frontend, checklist triggered by commenting add_frontend_checklist TensorFlow Frontend Developing the TensorFlow Frontend, checklist triggered by commenting add_frontend_checklist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants