YashNagraj75 commited on
Commit
fdc368b
·
1 Parent(s): d66ddca

Remove print statements

Browse files
Files changed (1) hide show
  1. model/attention.py +2 -2
model/attention.py CHANGED
@@ -56,10 +56,10 @@ class Attention(nn.Module):
56
  out = rearrange(
57
  out, "b nh n hdim -> b n (nh hdim)", nh=self.n_heads, hdim=self.head_dim
58
  )
59
- print(f"\nOutput shape after rearranging: {out.shape} in Attention Block")
60
 
61
  out = self.output_proj(out)
62
- print(f"Out after projection: {out.shape} in Attention Block\n")
63
 
64
  assert out.shape == x.shape, "Output shape should be equal to Input shape"
65
 
 
56
  out = rearrange(
57
  out, "b nh n hdim -> b n (nh hdim)", nh=self.n_heads, hdim=self.head_dim
58
  )
59
+
60
 
61
  out = self.output_proj(out)
62
+
63
 
64
  assert out.shape == x.shape, "Output shape should be equal to Input shape"
65