often 5 месяцев назад
Родитель
Сommit
4832afdc85

+ 0 - 6
recommend-model-produce/src/main/python/models/dssm/static_model.py

@@ -76,12 +76,6 @@ class StaticModel():
 
     def net(self, input, is_infer=False):
         # 创建模型实例
-            def __init__(self, static_feature_nums=[5,5,5,5,5], 
-                 stat_features_num=47,
-                 stat_features_num_embeddings=100,
-                 embedding_dim=8, output_dim=16, 
-                 hidden_layers=[40, 32], hidden_acts=["relu", "relu"]):
-        
         dssm_model = DSSMLayer(
             tag_feature_nums=self.feature_nums,
             stat_features_num = self.stat_features_num,