丁云鹏 4 ماه پیش
والد
کامیت
573b6d1774
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      recommend-model-produce/src/main/python/models/dssm/static_model.py

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

@@ -68,9 +68,9 @@ class StaticModel():
             feeds_list.append(right_features)
 
         else:
-            sample_id = paddle.static.data(
-               name="sample_id", shape=[-1, 1], dtype='int64')
-            feeds_list.append(sample_id)     
+            # sample_id = paddle.static.data(
+            #    name="sample_id", shape=[-1, 1], dtype='int64')
+            # feeds_list.append(sample_id)     
             left_features = paddle.static.data(
                 name="left_features", shape=[-1, self.input_dim], dtype='float32')
             feeds_list.append(left_features)