Skip to content

Code for DoG is duplicated #1509

@carlosgmartin

Description

@carlosgmartin

There seems to be duplicate code for DoG in the codebase:

  1. optax/_src/transform.py: ScaleByDistanceOverGradientsState, scale_by_distance_over_gradients

  2. optax/contrib/_dog.py: DoGState, scale_by_dog

These two should be merged together.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions