zlacker

[parent] [thread] 1 comments
1. polyga+(OP)[view] [source] 2023-05-20 12:51:31
I don't know if you knew but this is how TensorFlow 1 worked. Unfortunately, that was a widely unpopular design choice because it was hard to overload the same function for tensors of different dimensions, among other things.
replies(1): >>newhou+t6
2. newhou+t6[view] [source] 2023-05-20 13:48:27
>>polyga+(OP)
Interesting, do you have any references or examples? Some brief googling around hasn't found anything like this. The fact that overloading was an issue makes me think that TF1 was doing something different because Typescript generic type parameters allow you to do "overloading" galore (by only specifying constraints rather than enumerating every possible call format).
[go to top]