Skip to content

Commit

Permalink
some rolling back
Browse files Browse the repository at this point in the history
  • Loading branch information
loreloc committed Jul 31, 2024
1 parent 1cbbd6d commit 1c8de41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from cirkit.symbolic.parameters import (
ExpParameter,
Parameter,
TensorParameter,
TensorParameter, ScaledSigmoidParameter,
)
from cirkit.templates.region_graph import (
LinearRegionGraph,
Expand Down Expand Up @@ -454,7 +454,7 @@ def gaussian_layer_factory(
),
stddev_factory=lambda shape: Parameter.from_sequence(
TensorParameter(*shape, initializer=NormalInitializer(0.0, 1.0)),
ScaledSigmoidParameter(shape, vmin=1e-5, vmax=2.0, scale=2.0),
ScaledSigmoidParameter(shape, vmin=1e-5, vmax=2.0, scale=1.0),
),
)

Expand Down Expand Up @@ -534,7 +534,7 @@ def gaussian_layer_factory(
),
stddev_factory=lambda shape: Parameter.from_sequence(
TensorParameter(*shape, initializer=NormalInitializer(0.0, 1.0)),
ScaledSigmoidParameter(shape, vmin=1e-5, vmax=2.0, scale=2.0),
ScaledSigmoidParameter(shape, vmin=1e-5, vmax=2.0, scale=1.0),
),
)

Expand Down

0 comments on commit 1c8de41

Please sign in to comment.