mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
DML EP ResNet50 opset 15 fails in ONNX checker for FusedBatchNormalization lacking training_mode attribute (#12010)
FusedBatchNormalization include training_mode attribute
This commit is contained in:
parent
f045994389
commit
fc0143fe68
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ void RegisterDmlSchemas() {
|
|||
.Attr("spatial", "", AttributeProto::INT, static_cast<int64_t>(1))
|
||||
.Attr("epsilon", "", AttributeProto::FLOAT, 1e-5f)
|
||||
.Attr("momentum", "", AttributeProto::FLOAT, 0.9f)
|
||||
.Attr("training_mode", "", AttributeProto::INT, static_cast<int64_t>(0))
|
||||
.Input(0, "X", "", "T")
|
||||
.Input(1, "scale", "", "T")
|
||||
.Input(2, "B", "", "T")
|
||||
|
|
|
|||
Loading…
Reference in a new issue