Program Listing for File reshape.h
↰ Return to documentation for file (include/converter/include/ops/reshape.h
)
#ifndef MINDSPORE_CORE_OPS_RESHAPE_H_
#define MINDSPORE_CORE_OPS_RESHAPE_H_
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
namespace mindspore {
namespace ops {
constexpr auto kNameReshape = "Reshape";
class MIND_API Reshape : public BaseOperator {
public:
MIND_API_BASE_MEMBER(Reshape);
Reshape() : BaseOperator(kNameReshape) { InitIOName({"tensor", "shape"}, {"output"}); }
void Init() const {}
};
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_RESHAPE_H_