Program Listing for File sub_fusion.h

Return to documentation for file (include/converter/include/infer/cxx_api/sub_fusion.h)

#ifndef MINDSPORE_CORE_OPS_SUB_FUSION_H_
#define MINDSPORE_CORE_OPS_SUB_FUSION_H_
#include "mindapi/base/types.h"
#include "ops/base_operator.h"

namespace mindspore {
namespace ops {
constexpr auto kNameSubFusion = "SubFusion";
class OPS_API SubFusion : public BaseOperator {
 public:
  MIND_API_BASE_MEMBER(SubFusion);
  SubFusion() : BaseOperator(kNameSubFusion) {}

  void Init(const ActivationType &activation_type = NO_ACTIVATION);

  void set_activation_type(const ActivationType &activation_type);

  ActivationType get_activation_type() const;
};
}  // namespace ops
}  // namespace mindspore

#endif  // MINDSPORE_CORE_OPS_SUB_FUSION_H_