Skip to content

Commit

Permalink
Lazyconv (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 authored Aug 1, 2023
1 parent 878803a commit d58b7e7
Show file tree
Hide file tree
Showing 5 changed files with 993 additions and 232 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords = [
"functional-programming",
"machine-learning",
]
dependencies = ["pytreeclass>=0.5.0"]
dependencies = ["pytreeclass>=0.6.0"]

classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -30,6 +30,8 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]

readme = "README.md"

[tool.setuptools.dynamic]
version = { attr = "serket.__version__" }

Expand Down
3 changes: 1 addition & 2 deletions serket/nn/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ def __reversed__(self):

@sk.autoinit
class RandomApply(sk.TreeClass):
"""
Randomly applies a layer with probability p.
"""Randomly applies a layer with probability p.
Args:
layer: layer to apply.
Expand Down
Loading

0 comments on commit d58b7e7

Please sign in to comment.