- ######################################################################
- # sup_args
-
- x = kwargs.get("gate_dropout")
- if x is None:
- self.proba_gate_dropout = 0.0
- else:
- self.proba_gate_dropout = float(x)
-
- logger(f"self.proba_gate_dropout {self.proba_gate_dropout}")
-
- x = kwargs.get("default_bg")
- if x is None:
- default_bg = -math.log(caterpillar_height - 1)
- else:
- default_bg = float(x)
-
- logger(f"default_bg {default_bg}")
+ self.gate_dropout_proba = args.gate_dropout_proba
+ self.gate_dropout_sync = args.gate_dropout_sync