You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got custom Layers in equinox that look approximately like this.
class ProductLayer(InnerLayer):
child_layers: List[Union[SumLayer, InputLayer]]
edges: BCOO
class SumLayer(InnerLayer):
log_weights: List[BCOO]
child_layers: Union[List[[ProductLayer]], List[InputLayer]]
class ContinuousLayerWithFiniteSupport(ContinuousLayer, ABC):
interval: jax.Array
I now want to exclude ProductLayer.edges from the parameters of a model since they cannot be adjusted by gradient descent.
Fruthermore, SumLayer.log_weights.indices can also not be adjusted. The ContinuousLayerWithFiniteSupport.interval can also not be adjusted using gradient descent. How can i best filter these out for the eqx.partition method?
The text was updated successfully, but these errors were encountered:
Greetings!
I got custom Layers in equinox that look approximately like this.
I now want to exclude ProductLayer.edges from the parameters of a model since they cannot be adjusted by gradient descent.
Fruthermore, SumLayer.log_weights.indices can also not be adjusted. The ContinuousLayerWithFiniteSupport.interval can also not be adjusted using gradient descent. How can i best filter these out for the eqx.partition method?
The text was updated successfully, but these errors were encountered: