提交 d4a67778 编写于 作者: X xiexionghang

support weightAdjust by show

上级 3fa7150c
......@@ -55,7 +55,8 @@ def inference():
{ "class": "AbacusSparseJoinAccessor", "input": "sparses", "table_id": 0, "need_gradient": False},
{ "class": "DenseInputAccessor", "input": "vars", "table_id": 1, "need_gradient": True, "async_pull": True},
{ "class": "DenseInputAccessor", "input": "sums", "table_id": 2, "need_gradient": True, "async_pull": True},
{ "class": "WeightsAdjustAccessor", "input": "ins_weight", "slot_id": 6002, "adjw_ratio": 20, "adjw_threshold": 1000 },
{ "class": "WeightsAdjustAccessor", "input": "ins_weight",
"slot_id": 6002, "adjw_ratio": 20, "adjw_threshold": 1000 },
{ "class": "LabelInputAccessor", "input": "labels"}
]
......
......@@ -51,7 +51,8 @@ def inference():
accessors = [
{ "class": "AbacusSparseUpdateAccessor", "input": "sparses", "table_id": 0, "need_gradient": True},
{ "class": "DenseInputAccessor", "input": "vars", "table_id": 5, "need_gradient": True, "async_pull": True},
{ "class": "WeightsAdjustAccessor", "input": "ins_weight", "slot_id": 6002, "adjw_ratio": 20, "adjw_threshold": 1000 },
{ "class": "WeightsAdjustAccessor", "input": "ins_weight",
"slot_id": 6002, "adjw_ratio": 20, "adjw_threshold": 1000},
{ "class": "LabelInputAccessor", "input": "labels"}
]
monitors = [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册