Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
ziatdinovmax committed Oct 21, 2024
1 parent 97e4170 commit 5526fde
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions neurobayes/flax_nets/deterministic_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ class TrainState(train_state.TrainState):
class DeterministicNN:

"""
Class for training and predicting with deterministic (as in non-stochastic)
neural network.
Class for training and predicting with deterministic neural network.
Args:
architecture: a Flax model
Expand Down
2 changes: 1 addition & 1 deletion neurobayes/models/partial_bnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PartialBNN(BNN):
SPLITTERS = {
FlaxMLP: split_mlp,
FlaxConvNet: split_convnet,
# Add more network types and their splitters here
# More network types and their splitters TBA
}

def __init__(self,
Expand Down
2 changes: 1 addition & 1 deletion neurobayes/models/partial_bnn_heteroskedastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class HeteroskedasticPartialBNN(HeteroskedasticBNN):
SPLITTERS = {
FlaxMLP2Head: split_mlp2head,
FlaxConvNet2Head: split_convnet2head,
# Add more network types and their splitters here
# More network types and their splitters TBA
}
def __init__(self,
deterministic_nn: Type[flax.linen.Module],
Expand Down
2 changes: 1 addition & 1 deletion neurobayes/models/partial_dkl.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PartialDKL(DKL):
SPLITTERS = {
FlaxMLP: split_mlp,
FlaxConvNet: split_convnet,
# Add more network types and their splitters here
# More network types and their splitters TBA
}

def __init__(self,
Expand Down

0 comments on commit 5526fde

Please sign in to comment.