Only some operators are supported by torch.onnx.
http://pytorch.org/docs/master/onnx.html#supported-operators 89
The link contains the list of operators that are supported and scatter is not one of them.