fix Gelu CPU: remove MayInplace() declaration (#2306)

This commit is contained in:
Yulong Wang 2019-11-01 18:10:05 -07:00 committed by Yufeng Li
parent 204a6872d3
commit cba93f7c8d

View file

@ -31,7 +31,7 @@ ONNX_OPERATOR_KERNEL_EX(
kMSDomain,
1,
kCpuExecutionProvider,
KernelDefBuilder().MayInplace(0, 0).TypeConstraint("T", DataTypeImpl::GetTensorType<float>()),
KernelDefBuilder().TypeConstraint("T", DataTypeImpl::GetTensorType<float>()),
Gelu<float>);
} // namespace contrib