提交 b21b50b2 编写于 作者: X xiexionghang

support weightAdjust by show

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