Comments (8)
There's no place where a default seed value is stored in ivy. So can you please add the default seed value for ivy and then we can use the same for torch frontend
from ivy.
There's no place where a default seed value is stored in ivy. So can you please add the default seed value for ivy and then we can use the same for torch frontend
Hi @vishwajit-vishnu, I don't think we are able to add support for this currently. First we will need to implement an ivy Generator class, which is on our roadmap.
from ivy.
Hi @AnnaTz, for this task, is both initial_seed
and get_rng_state
related to the generator class?
I was thinking to have a global variable for seed here at this file: https://github.com/unifyai/ivy/blob/0d9e03bad71aa6aa2b61118c6e5b6bfff3a51fea/ivy/functional/ivy/random.py and return it, would this work or should we wait till you have the generator class implemented?
from ivy.
Hi @AnnaTz, for this task, is both
initial_seed
andget_rng_state
related to the generator class? I was thinking to have a global variable for seed here at this file: https://github.com/unifyai/ivy/blob/0d9e03bad71aa6aa2b61118c6e5b6bfff3a51fea/ivy/functional/ivy/random.py and return it, would this work or should we wait till you have the generator class implemented?
Hi @a0m0rajab, it wouldn't be enough to create a global variable for a seed. Instead we need to implement an ivy generator class and then a torch frontend generator class that will inherit from the ivy one. There are people in our team already looking into that. I would suggest you pick another ToDo list to contribute to.
from ivy.
Thank you for this information! @AnnaTz
from ivy.
@AnnaTz side note, would be adding toDo_internal label to this and removing the toDo label be okay? Since it seems to miss only those two functions and the others have a PR opened for it. I just get curious about this labels 😄
from ivy.
@AnnaTz side note, would be adding toDo_internal label to this and removing the toDo label be okay? Since it seems to miss only those two functions and the others have a PR opened for it. I just get curious about this labels 😄
Good idea 😅
from ivy.
Thank you for that!
from ivy.
Related Issues (20)
- Fix Frontend Failing Test: torch - linalg.jax.numpy.linalg.svd HOT 1
- Fix Frontend Failing Test: numpy - operators.jax.lax.min
- [Bug]: Failed to sign up HOT 2
- upsample HOT 2
- L
- Fix Frontend Failing Test: tensorflow - averages_and_variances.numpy.mean
- Fix Frontend Failing Test: torch - averages_and_variances.numpy.mean
- Fix Frontend Failing Test: paddle - averages_and_variances.numpy.mean
- Fix Frontend Failing Test: jax - averages_and_variances.numpy.mean
- Fix Frontend Failing Test: torch - operators.jax.lax.reshape
- Fix Frontend Failing Test: tensorflow - pooling_functions.torch.nn.functional.max_pool2d
- Fix Frontend Failing Test: tensorflow - tensor.torch.Tensor.new_zeros
- Fix Frontend Failing Test: torch - blas_and_lapack_ops.cholesky and torch - linalg.cholesky HOT 4
- Fix Frontend Failing Test: torch - blas_and_lapack_ops.svd HOT 4
- Fix Frontend Failing Test: torch - linalg.cholesky_ex HOT 1
- torch_frontend.Tensor.is_neg HOT 2
- torch_frontend.Tensor.is_conj
- Fix Frontend Failing Test: torch - ndarray.numpy.ndarray.var
- torch._VF frontend functions
- Fix Ivy Failing Test: numpy - random.multinomial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ivy.