How to implement onnx::slice op in pytorch?

I need to implement a net according to onnx which has a slice op. But it seems there is no such op in pytorch. How to implement it by using other ops?

you mean slice operation? maybe this help:

https://pytorch.org/cppdocs/notes/tensor_indexing.html