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