Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Jul 31, 2023
1 parent 878803a commit 5c7095b
Show file tree
Hide file tree
Showing 5 changed files with 263 additions and 180 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 5c7095b

Please sign in to comment.