Program Listing for File mat_mul_fusion.h

Return to documentation for file (include/converter/include/ops/fusion/mat_mul_fusion.h)

#ifndef MINDSPORE_CORE_OPS_FUSION_MAT_MUL_FUSION_H_
#define MINDSPORE_CORE_OPS_FUSION_MAT_MUL_FUSION_H_
#include <memory>
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
#include "ops/mat_mul.h"

namespace mindspore {
namespace ops {
constexpr auto kNameMatMulFusion = "MatMulFusion";
class MIND_API MatMulFusion : public MatMul {
 public:
  MIND_API_BASE_MEMBER(MatMulFusion);
  MatMulFusion() : MatMul(kNameMatMulFusion) {}
  void Init(bool transpose_a = false, bool transpose_b = false, 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_FUSION_MAT_MUL_FUSION_H_