forked from jiuyuan/InfiniTensor
fix comment
This commit is contained in:
parent
886c5e5bd2
commit
e33131ce5c
|
@ -952,8 +952,8 @@ class OnnxStub:
|
||||||
size,
|
size,
|
||||||
)
|
)
|
||||||
elif node.op_type == "Dropout":
|
elif node.op_type == "Dropout":
|
||||||
// HACK: Currently we only support model inference,
|
# HACK: Currently we only support model inference,
|
||||||
// so training_mode is set to false.
|
# so training_mode is set to false.
|
||||||
attributes = _parse_attribute(
|
attributes = _parse_attribute(
|
||||||
node, {"ratio": 0.5, "training_mode": 0})
|
node, {"ratio": 0.5, "training_mode": 0})
|
||||||
(ratio, training_mode) = (
|
(ratio, training_mode) = (
|
||||||
|
|
Loading…
Reference in New Issue