Class Slice

Inheritance Relationships

Base Type

Class Documentation

class Slice : public mindspore::ops::PrimitiveC

Slices a tensor in the specified shape. Refer to Python API mindspore.ops.Slice for more details.

Public Functions

inline Slice()

Constructor.

~Slice() = default

Destructor.

inline void Init()

Init.