Skip to content

Commit

Permalink
Fix fullyconnected error on gpuarray
Browse files Browse the repository at this point in the history
  • Loading branch information
mldiego committed Mar 27, 2024
1 parent 9c7ee10 commit 3126ebb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/nnv/engine/nn/layers/FullyConnectedLayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@
I = reshape(I,N,1); % flatten input
if i==1
V(1, 1,:,i) = obj.Weights*I + obj.Bias;
V2(1,1,:,i) = gpuArray(obj.Weights)*I + gpuArray(obj.Bias);
else
V(1, 1,:,i) = obj.Weights*I;
end
Expand Down

0 comments on commit 3126ebb

Please sign in to comment.