Crate caffe2op_slice

source ·

Structs

  • | Produces a slice of the input tensor. | | - Currently, only slicing in a single | dimension is supported. | | - Start and end indices are either passed | as two 1D input tensors or using the starts | and ends arguments. | | - If a negative value is passed for any | of the start or end indices, it represents | |value| - 1 elements before the end of | that dimension. End indices are non-inclusive | unless negative (end index | | -1 means up to and including the last | element). | | Github Links: | | - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/slice_op.cc |

Functions