def get_default_config(cls): config = super(LayerWeightInitializer, cls).get_default_config() config["rng"] = get_rng() return config
def get_default_config(cls): config = super(GridInitializer, cls).get_default_config() config["rng"] = get_rng() del config["initializers"] return config
def get_default_config(cls): config = super(ModelWeightInitializer, cls).get_default_config() config["rng"] = get_rng() config["initializers"] = {"class": StandardWeightInitializer} return config
def get_default_config(cls): config = super(OptimalInitializer, cls).get_default_config() config["rng"] = get_rng() config["num_clusters"] = 5 del config["initializers"] return config