Skip to content

Commit

Permalink
arm neon optimization for rnn (Tencent#2601)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Jan 15, 2021
1 parent 6672b09 commit 4f2907d
Show file tree
Hide file tree
Showing 5 changed files with 1,492 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/layer/arm/gru_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class GRU_arm : virtual public GRU
int forward_bf16s(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const;

public:
Mat weight_hc_data_packed;
Mat bias_c_data_packed;
Mat weight_xc_data_packed;
Mat bias_c_data_packed;
Mat weight_hc_data_packed;
};

} // namespace ncnn
Expand Down
4 changes: 2 additions & 2 deletions src/layer/arm/lstm_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class LSTM_arm : virtual public LSTM
int forward_bf16s(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const;

public:
Mat weight_hc_data_packed;
Mat bias_c_data_packed;
Mat weight_xc_data_packed;
Mat bias_c_data_packed;
Mat weight_hc_data_packed;
};

} // namespace ncnn
Expand Down
Loading

0 comments on commit 4f2907d

Please sign in to comment.