|
@@ -57,9 +57,9 @@ class StaticModel():
|
|
|
left_features, right_features = input
|
|
|
else:
|
|
|
label,left_features, right_features = input
|
|
|
- #paddle.static.Print(left_features, message="lqc left data feature shape:")
|
|
|
- #paddle.static.Print(right_features, message="lqc right data feature shape:")
|
|
|
- #paddle.static.Print(label, message="lqc label feature shape:")
|
|
|
+ paddle.static.Print(left_features, message="lqc left data feature shape:")
|
|
|
+ paddle.static.Print(right_features, message="lqc right data feature shape:")
|
|
|
+ paddle.static.Print(label, message="lqc label feature shape:")
|
|
|
|
|
|
# 获取相似度和特征向量
|
|
|
sim_score, left_vec, right_vec = dssm_model(left_features, right_features)
|