Program Listing for File partial_fusion.h
↰ Return to documentation for file (include/converter/include/ops/fusion/partial_fusion.h
)
#ifndef MINDSPORE_CORE_OPS_PARTIAL_FUSION_H_
#define MINDSPORE_CORE_OPS_PARTIAL_FUSION_H_
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
namespace mindspore {
namespace ops {
constexpr auto kNamePartialFusion = "PartialFusion";
class MIND_API PartialFusion : public BaseOperator {
public:
MIND_API_BASE_MEMBER(PartialFusion);
PartialFusion() : BaseOperator(kNamePartialFusion) {}
void Init(const int64_t sub_graph_index);
void set_sub_graph_index(const int64_t sub_graph_index);
int64_t get_sub_graph_index() const;
};
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_PARTIAL_FUSION_H_