Class Compose
Defined in File transforms.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class Compose : public mindspore::dataset::TensorTransform
Compose a list of transforms into a single transform.
Public Functions
-
explicit Compose(const std::vector<TensorTransform*> &transforms)
Constructor.
- Parameters
transforms – [in] A vector of raw pointers to TensorTransform objects to be applied.
Constructor.
- Parameters
transforms – [in] A vector of shared pointers to TensorTransform objects to be applied.
-
explicit Compose(const std::vector<std::reference_wrapper<TensorTransform>> &transforms)
Constructor.
- Parameters
transforms – [in] A vector of TensorTransform objects to be applied.
-
~Compose() = default
Destructor.
-
explicit Compose(const std::vector<TensorTransform*> &transforms)