Skip to content

Commit

Permalink
fix optional postprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyminium committed Nov 4, 2024
1 parent 6e4bad6 commit 0e16ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openff/nagl/nn/_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def from_config(
layer_dropout = [
layer.dropout for layer in readout_config.layers
]
postprocess_layer = None
if readout_config.postprocess is not None:
postprocess_layer = _PostprocessLayerMeta._get_object(readout_config.postprocess)
hidden_feature_sizes.append(postprocess_layer.n_features)
Expand Down

0 comments on commit 0e16ffc

Please sign in to comment.