提交 9438db27 编写于 作者: X xiexionghang

fix code style

上级 aa581082
......@@ -50,7 +50,14 @@ def inference():
{ "name": "epoch_auc", "class": "AucMonitor", "target": ctr_output, "compute_interval": 600 },
{ "name": "day_auc", "class": "AucMonitor", "target": ctr_output, "compute_interval": 86400 }
]
return {'accessors': accessors, 'monitors': monitors, 'sparses': [sparse_cvm], 'inputs': [cvm_input], 'outputs': [ctr_output]}
return {
'accessors': accessors,
'monitors': monitors,
'sparses': [sparse_cvm],
'inputs': [cvm_input],
'outputs': [ctr_output]
}
def loss_function(ctr_output):
"""
......
......@@ -43,7 +43,13 @@ def inference():
{ "name": "day_auc", "class": "AucMonitor", "target": ctr_output, "compute_interval": 86400 }
]
return {'accessors': accessors, 'monitors': monitors, 'sparses': [sparse_cvm], 'inputs': [cvm_input], 'outputs': [ctr_output]}
return {
'accessors': accessors,
'monitors': monitors,
'sparses': [sparse_cvm],
'inputs': [cvm_input],
'outputs': [ctr_output]
}
def loss_function(ctr_output):
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册