Chewxy
Chewxy
Hi, as someone who uses the unicode function in qmk and will be acquiring a keyboard running on zmk, I'd like to share some thoughts. ## Macros are not great....
Hm - do you have an example of your NN?
(the allocator tries occasionally to do stupid "smart" things based on heuristics - so it may be just that)
The main problem with max is that it's not particularly differentiable. Do you have any suggestions?
The Max function is not complete... @accenta . I'll come back to complete it by v0.10.0
Changed ``` go x := IsAVector(g, Float64, 5, WithName("x")) y := IsAMatrix(g, Flaot32, 2, 3, WithName("y"), WithValue(yT)) ``` to ``` go x := Vector(g, Float64, 5, WithName("x")) y := Matrix(g,...
I like the idea of `NewNodeOf`. Clean. Explains itself well. As for the one that has "from"... I think adopting the `NodeFromXXX` pattern would be cleaner - drop the ~"the"~...
Changed ``` go x := Vector(g, Float64, 5, WithName("x")) y := Matrix(g, Flaot32, 2, 3, WithName("y"), WithValue(yT)) ``` to ```go x := NewNodeOfVector(g, Float64, 5, WithName("x")) y := NewNodeOfMatrix(g, Float32,...
https://godoc.org/gorgonia.org/gorgonia#NodeFromAny Also the reason for having Scalar value vs Scalar represented as a `tensor.Tensor` type is that the usual `tensor.Tensor` is `tensor.Dense`, which requires A LOT of allocation.
> `NewMatrix` and `NewVector` are just wrappers for `NewTensor`, so they are separate functions just for convenience, not to save memory. Specifically the convenience is not having to specify how...