Remove const from layer input

This commit is contained in:
2025-11-19 20:37:41 +01:00
parent dfdfa19022
commit 7896ff0e24
6 changed files with 5 additions and 58 deletions

View File

@@ -33,7 +33,7 @@ Dense::Dense(CUDANet::Shape in, CUDANet::Shape out, CUDANet::Backend* backend)
Dense::~Dense() {}
CUDANet::Tensor& Dense::forward(const CUDANet::Tensor& input) {
CUDANet::Tensor& Dense::forward(CUDANet::Tensor& input) {
backend->dense(weights, biases, input, output, in_shape[0], out_shape[0]);
return output;
}