Skip to content

Commit

Permalink
Fix dostring formatting of activation func (#58)
Browse files Browse the repository at this point in the history
* fix indentation in docstrings for parameter `activation_func`

* version bump to 1.2.6
  • Loading branch information
lukashergt authored Mar 11, 2024
1 parent d764234 commit 2055125
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Introduction

:margarine: Marginal Bayesian Statistics
:Authors: Harry T.J. Bevins
:Version: 1.2.5
:Version: 1.2.6
:Homepage: https://github.com/htjb/margarine
:Documentation: https://margarine.readthedocs.io/

Expand Down
4 changes: 2 additions & 2 deletions margarine/clustered.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class clusterMAF():
activation_func: **string / default = 'tanh'**
| The choice of activation function. It must be an activation
function keyword recognisable by TensorFlow. The default is
'tanh', the hyperbolic tangent activation function.
function keyword recognisable by TensorFlow. The default is
'tanh', the hyperbolic tangent activation function.
cluster_labels: **list / default = None**
| If clustering has been performed externally to margarine you can
Expand Down
4 changes: 2 additions & 2 deletions margarine/maf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class MAF:
activation_func: **string / default = 'tanh'**
| The choice of activation function. It must be an activation
function keyword recognisable by TensorFlow. The default is
'tanh', the hyperbolic tangent activation function.
function keyword recognisable by TensorFlow. The default is
'tanh', the hyperbolic tangent activation function.
theta_max: **numpy array**
| The true upper limits of the priors used to generate the samples
Expand Down

0 comments on commit 2055125

Please sign in to comment.