@@ -150,7 +150,7 @@ def __init__(
150150 skip_stat : bool = False ,
151151 optim_update : bool = True ,
152152 smooth_edge_update : bool = False ,
153- use_ext_ebd : bool = False ,
153+ use_loc_mapping : bool = True ,
154154 ) -> None :
155155 self .n_dim = n_dim
156156 self .e_dim = e_dim
@@ -177,7 +177,7 @@ def __init__(
177177 self .a_compress_use_split = a_compress_use_split
178178 self .optim_update = optim_update
179179 self .smooth_edge_update = smooth_edge_update
180- self .use_ext_ebd = use_ext_ebd
180+ self .use_loc_mapping = use_loc_mapping
181181
182182 def __getitem__ (self , key ):
183183 if hasattr (self , key ):
@@ -209,7 +209,7 @@ def serialize(self) -> dict:
209209 "fix_stat_std" : self .fix_stat_std ,
210210 "optim_update" : self .optim_update ,
211211 "smooth_edge_update" : self .smooth_edge_update ,
212- "use_ext_ebd " : self .use_ext_ebd ,
212+ "use_loc_mapping " : self .use_loc_mapping ,
213213 }
214214
215215 @classmethod
@@ -265,7 +265,7 @@ def __init__(
265265 use_econf_tebd : bool = False ,
266266 use_tebd_bias : bool = False ,
267267 type_map : Optional [list [str ]] = None ,
268- use_ext_ebd : bool = False ,
268+ use_loc_mapping : bool = True ,
269269 ) -> None :
270270 super ().__init__ ()
271271
@@ -279,7 +279,7 @@ def init_subclass_params(sub_data, sub_class):
279279 f"Input args must be a { sub_class .__name__ } class or a dict!"
280280 )
281281
282- self .use_ext_ebd = use_ext_ebd
282+ self .use_loc_mapping = use_loc_mapping
283283 self .repflow_args = init_subclass_params (repflow , RepFlowArgs )
284284 self .activation_function = activation_function
285285
@@ -312,7 +312,7 @@ def init_subclass_params(sub_data, sub_class):
312312 env_protection = env_protection ,
313313 precision = precision ,
314314 seed = child_seed (seed , 1 ),
315- use_ext_ebd = use_ext_ebd ,
315+ use_loc_mapping = use_loc_mapping ,
316316 )
317317
318318 self .use_econf_tebd = use_econf_tebd
@@ -550,7 +550,7 @@ def serialize(self) -> dict:
550550 "use_tebd_bias" : self .use_tebd_bias ,
551551 "type_map" : self .type_map ,
552552 "type_embedding" : self .type_embedding .serialize (),
553- "use_ext_ebd " : self .use_ext_ebd ,
553+ "use_loc_mapping " : self .use_loc_mapping ,
554554 }
555555 repflow_variable = {
556556 "edge_embd" : repflows .edge_embd .serialize (),
0 commit comments