export to onnx issue
Hi experts,

I got an error when running the onnx model after conversion. Can anyone please help to take a look? 

code:
`torch.onnx.export(model, 
    (input_ids, attention_mask, token_type_ids), 
    "bert.onnx", 
    input_names=['input_ids', 'attention_mask', 'token_type_ids'], 
    export_params=True, verbose=True)`

`sess = rt.InferenceSession("bert.onnx")
inputs = {'input_ids': input_ids, 'attention_mask': attention_mask, 'token_type_ids': token_type_ids}
outputs = sess.run(None, inputs)
`

error:

Traceback (most recent call last):
  File "test.py", line 29, in <module>
    outputs = sess.run(None, inputs)
  File "/usr/local/lib/python3.6/dist-packages/onnxruntime/capi/session.py", line 142, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Non-zero status code returned while running Gather node. Name:'' Status Message: indices element out of data bounds, idx=1 must be within the inclusive range [-1,0]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
