diff --git a/include/layers/Tensor.hpp b/include/layers/Tensor.hpp index 6aa7eb8c..ed309ead 100644 --- a/include/layers/Tensor.hpp +++ b/include/layers/Tensor.hpp @@ -89,7 +89,7 @@ class Tensor { Shape get_shape() const { return shape_; } Type get_type() const noexcept { return type_; } - void Tensor::set_bias(const std::vector& bias) { + void set_bias(const std::vector& bias) { if (bias.size() != shape_[1]) { throw std::invalid_argument( "Bias size does not match the second dimension of the shape");