fix a shape inference bug. (#605)

This commit is contained in:
Du Li 2019-03-12 12:04:17 -07:00 committed by Changming Sun
parent de9f1ff1ff
commit 3f507fa9f8

View file

@ -271,7 +271,7 @@ Sample echo operator.)DOC");
"T")
.TypeConstraint("T", {"tensor(float)"}, "Constrain input0 and output types to float tensors")
.TypeAndShapeInferenceFunction([](ONNX_NAMESPACE::InferenceContext& ctx) {
ONNX_NAMESPACE::convPoolTypeAndShapeInference(ctx, false, true);
ONNX_NAMESPACE::convPoolTypeAndShapeInference(ctx, true, false);
});
ONNX_CONTRIB_OPERATOR_SCHEMA(FusedConv)