Carlo Lucibello

Results 274 issues of Carlo Lucibello

```julia help?> GBMatrix search: GBMatrix GBMatrixR GBMatrixC GBMatrix{T, F}

The signature should be extended to ```julia fleaves(f, exclude = Functors.isleaf, walk = Functors.DefaultWalk()) ```

This issue keeps track of the breaking change proposed in https://github.com/FluxML/Functors.jl/pull/74#pullrequestreview-1926195629 in order to avoid duplicating walks, e.g. defining `SomeWalk` and also `SomeWalkWithPath`.

breaking

Makes everything a functor by default, avoiding the need to sprinkle ```julia @functor T ``` everywhere in Flux's layers and similar use cases. The types already decorated with `@functor T`...

breaking

```julia julia> Functors.isleaf((;)) false ``` I guess we should consider this a bug.

Due to the default fallback ```julia functor(T, x) = (), _ -> x ``` in [Functors.jl](https://github.com/FluxML/Functors.jl/blob/ccdc06355c7f7c1a96bc0e9e69110936c979cc0f/src/functor.jl#L1), every custom type is considered a leaf (i.e. it has no children) and we...

I'm developing a package depending on PythonCall. I changed my `CondaPkg.toml` file from ``` channels = ["conda-forge"] [deps] h5py = "" pillow = ">=9.1, =1.20, =2.7, =2.11,

After #88 the documentation link in the README is broken. Maybe I merged that PR too soon, sorry for that. cc @darsnack @isentropic

For convenience, it would be nice to have ``` tfm = FlipX() newimg = tfm(img) # equivalent to apply(tfm, img) ```