Automatically add out kwarg & member & inplace_member#19
Conversation
cf98a31 to
0cc24ea
Compare
3f1380a to
0551865
Compare
|
To enable automatic tests of
It is not in the best way I would like it though, let me know whatever suggestions you have. |
881c03e to
0f7c371
Compare
|
The CI error seems to be from |
|
yes, sorry about the ci. it should be fixed after b958825 |
0f7c371 to
f50cb05
Compare
|
Great, tests are passing after the ci fix. Let me know if you have further comments on this one. |
|
looks like there are some merge conflicts. i'm also gonna have to meditate a bit on how exactly i want to design this. what u have is great, but i'm concerned we may eventually blow up the complexity of |
The awkward part is that whether |
f50cb05 to
a898b6a
Compare
2025-08-19
|
|
Thanks @mavenlin ! |
As per our discussion in #18,
out=Nonekwarg, we use a preset template in the decorator.torch.add,torch.Tensor.addandtorch.Tensor.add_are automatically added. While it works for most of the functions, for some of the functions this can be turned off, e.g.torch.permute&torch.Tensor.permutehas different signatures.