Program Listing for File concat.h
↰ Return to documentation for file (include/converter/include/ops/concat.h
)
#ifndef MINDSPORE_CORE_OPS_CONCAT_H_
#define MINDSPORE_CORE_OPS_CONCAT_H_
#include <memory>
#include <vector>
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
namespace mindspore {
namespace ops {
constexpr auto kNameConcat = "Concat";
class MIND_API Concat : public BaseOperator {
public:
MIND_API_BASE_MEMBER(Concat);
Concat() : BaseOperator(kNameConcat) { InitIOName({"x"}, {"y"}); }
void Init(const int64_t axis = 0);
void set_axis(const int64_t axis);
int64_t get_axis() const;
};
MIND_API abstract::AbstractBasePtr ConcatInfer(const abstract::AnalysisEnginePtr &, const PrimitivePtr &primitive,
const std::vector<abstract::AbstractBasePtr> &input_args);
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_CONCAT_H_