Crash when using `InferType()`

Thanks for your comment @masahi

When I converted the keras model into equivallent ONNX model, the usage of InferType() in run well.