5 #ifndef _NNDEPLOY_OP_OP_CONSTANT_OF_SHAPE_H_
6 #define _NNDEPLOY_OP_OP_CONSTANT_OF_SHAPE_H_
26 std::shared_ptr<ir::ConstantOfShapeParam> param,
virtual ~OpConstantOfShape()
virtual base::Status inferDataType()
类型推理
virtual base::Status run()
virtual base::Status inferShape()
形状推理
#define NNDEPLOY_CC_API
api
base::Status constantOfShape(device::Tensor *shape, std::shared_ptr< ir::ConstantOfShapeParam > param, device::Tensor *output)
base::Status shape(device::Tensor *input, std::shared_ptr< ir::ShapeParam > param, device::Tensor *output)