Skip to content

Commit

Permalink
Merge pull request #3209 from marcoselvi:patch-1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 549447778
  • Loading branch information
Flax Authors committed Jul 19, 2023
2 parents 54a0296 + 0a4b0d6 commit ac6cde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flax/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class DirectionAndScaleKernel:
@classmethod
def create(cls, kernel):
scale = jax.numpy.linalg.norm(kernel, axis=0, keepdims=True)
directin = direction / scale
direction = direction / scale
return cls(direction, scale)
Args:
Expand Down

0 comments on commit ac6cde0

Please sign in to comment.