Skip to content

Commit

Permalink
Update simple_cerebros_random_search.py
Browse files Browse the repository at this point in the history
  • Loading branch information
david-thrower committed Jun 12, 2024
1 parent 4c0a279 commit efce1b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
dense_automl_structural_component \
import DenseAutoMlStructuralComponent, DenseLateralConnectivity, \
zero_7_exp_decay, zero_95_exp_decay, simple_sigmoid
from cerebros.units.units import Unit, InputUnit, FinalDenseUnit
from cerebros.units.units import Unit, InputUnit, FinalDenseUnit, TernaryDenseLayer
from cerebros.neuralnetworkfuture.neural_network_future \
import NeuralNetworkFuture, RealNeuronNeuralNetworkFuture
# from cmdutil.cmdutil import run_command
Expand Down Expand Up @@ -579,7 +579,7 @@ def get_best_model(self):
tf.keras.models.load_model(
self.best_model_path,
custom_objects=\
{"TernaryDenseLayer": units.units.TernaryDenseLayer})
{"TernaryDenseLayer": TernaryDenseLayer})
return best_model

# ->
Expand Down

0 comments on commit efce1b6

Please sign in to comment.