fl_sim.regularizers.get_regularizer# fl_sim.regularizers.get_regularizer(reg_type: str, reg_coeff: float = 1.0) → Regularizer[源代码]# Get the regularizer by name. 参数: reg_type (str) -- The name of the regularizer. reg_coeff (float, default 1.0) -- The coefficient of the regularizer. 返回: The regularizer instance. 返回类型: Regularizer