Skip to content

Commit 1a6494f

Browse files
committed
Removed used var in patch_embeddings_/backward
1 parent b69d284 commit 1a6494f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

dlib/dnn/layers.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6832,7 +6832,6 @@ namespace dlib
68326832
void backward(const tensor& gradient_input, SUBNET& sub, tensor& params_grad)
68336833
{
68346834
const long batch_size = gradient_input.num_samples();
6835-
const long sequence_length = gradient_input.nr();
68366835
const long num_patches = num_patches_h * num_patches_w;
68376836

68386837
// Get parameter aliases from params

0 commit comments

Comments
 (0)