Support clang-tidy (#1034)
This commit is contained in:
@@ -192,15 +192,15 @@ class OnlineWenetCtcModel::Impl {
|
||||
std::vector<std::string> output_names_;
|
||||
std::vector<const char *> output_names_ptr_;
|
||||
|
||||
int32_t head_;
|
||||
int32_t num_blocks_;
|
||||
int32_t output_size_;
|
||||
int32_t cnn_module_kernel_;
|
||||
int32_t right_context_;
|
||||
int32_t subsampling_factor_;
|
||||
int32_t vocab_size_;
|
||||
int32_t head_ = 0;
|
||||
int32_t num_blocks_ = 0;
|
||||
int32_t output_size_ = 0;
|
||||
int32_t cnn_module_kernel_ = 0;
|
||||
int32_t right_context_ = 0;
|
||||
int32_t subsampling_factor_ = 0;
|
||||
int32_t vocab_size_ = 0;
|
||||
|
||||
int32_t required_cache_size_;
|
||||
int32_t required_cache_size_ = 0;
|
||||
|
||||
Ort::Value attn_cache_{nullptr};
|
||||
Ort::Value conv_cache_{nullptr};
|
||||
|
||||
Reference in New Issue
Block a user