File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def __init__(
5959 if isinstance (standardize , str ) and standardize != "all" :
6060 self .standardize = [standardize ]
6161 else :
62- self .standardize = standardize
62+ self .standardize = standardize or []
6363
6464 if self .standardize == "all" :
6565 # we have to lazily initialize these
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def __init__(
5858 if isinstance (standardize , str ) and standardize != "all" :
5959 self .standardize = [standardize ]
6060 else :
61- self .standardize = standardize
61+ self .standardize = standardize or []
6262
6363 if self .standardize == "all" :
6464 # we have to lazily initialize these
@@ -333,6 +333,7 @@ def get_config(self):
333333 "adapter" : self .adapter ,
334334 "classifier_network" : self .classifier_network ,
335335 "summary_network" : self .summary_network ,
336+ "standardize" : self .standardize ,
336337 }
337338
338339 return base_config | serialize (config )
You can’t perform that action at this time.
0 commit comments