Skip to content

Commit

Permalink
Fix typo in struct.py documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoselvi authored Jul 18, 2023
1 parent 881c449 commit 0a4b0d6
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 0a4b0d6

Please sign in to comment.