Class Concatenate
Defined in File transforms.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class Concatenate : public mindspore::dataset::TensorTransform
Concatenate all tensors into a single tensor.
Public Functions
-
explicit Concatenate(int8_t axis = 0, const MSTensor &prepend = {}, const MSTensor &append = {})
Constructor.
- Parameters
axis – [in] Concatenate the tensors along given axis, only support 0 or -1 so far (default=0).
prepend – [in] MSTensor to be prepended to the concatenated tensors (default={}).
append – [in] MSTensor to be appended to the concatenated tensors (default={}).
-
~Concatenate() = default
Destructor.
-
explicit Concatenate(int8_t axis = 0, const MSTensor &prepend = {}, const MSTensor &append = {})