Program Listing for File shape.h
↰ Return to documentation for file (include/converter/include/mindapi/ir/shape.h
)
#ifndef MINDSPORE_CORE_MINDAPI_IR_SHAPE_H_
#define MINDSPORE_CORE_MINDAPI_IR_SHAPE_H_
#include "mindapi/base/base.h"
#include "mindapi/base/shape_vector.h"
#include "mindapi/ir/common.h"
namespace mindspore::api {
class MIND_API Shape : public Base {
public:
MIND_API_BASE_MEMBER(Shape);
explicit Shape(const ShapeVector &shape);
const ShapeVector &shape() const;
};
} // namespace mindspore::api
#endif // MINDSPORE_CORE_MINDAPI_IR_SHAPE_H_