Skip to content

Commit

Permalink
Bug fix renaming param in header to implementation (#106)
Browse files Browse the repository at this point in the history
* Bug fix renaming param in header to implementation

* Update dsp.h

---------

Co-authored-by: Steven Atkinson <steven@atkinson.mn>
  • Loading branch information
dhilanpatel26 and sdatkinson authored Jul 18, 2024
1 parent bc51a12 commit 76cc2f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NAM/dsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ class Conv1D
void set_size_and_weights_(const int in_channels, const int out_channels, const int kernel_size, const int _dilation,
const bool do_bias, std::vector<float>::iterator& weights);
// Process from input to output
// Rightmost indices of input go from i_start to i_end,
// Indices on output for from j_start (to j_start + i_end - i_start)
void process_(const Eigen::MatrixXf& input, Eigen::MatrixXf& output, const long i_start, const long i_end,
// Rightmost indices of input go from i_start for ncols,
// Indices on output for from j_start (to j_start + ncols - i_start)
void process_(const Eigen::MatrixXf& input, Eigen::MatrixXf& output, const long i_start, const long ncols,
const long j_start) const;
long get_in_channels() const { return this->_weight.size() > 0 ? this->_weight[0].cols() : 0; };
long get_kernel_size() const { return this->_weight.size(); };
Expand Down

0 comments on commit 76cc2f2

Please sign in to comment.