Tayaba171 commited on
Commit
f413f10
1 Parent(s): 8eaf20e

Update CALTextModel.py

Browse files
Files changed (1) hide show
  1. CALTextModel.py +1 -1
CALTextModel.py CHANGED
@@ -600,7 +600,7 @@ def get_sample(ctx0, h_0, k , maxlen, stochastic, training, model):
600
  break
601
  if dead_k >= k:
602
  break
603
-
604
  next_w = np.array([w1[-1] for w1 in hyp_samples])
605
  next_state = np.array(hyp_states)
606
  next_alpha_past = np.array(hyp_alpha_past)
 
600
  break
601
  if dead_k >= k:
602
  break
603
+
604
  next_w = np.array([w1[-1] for w1 in hyp_samples])
605
  next_state = np.array(hyp_states)
606
  next_alpha_past = np.array(hyp_alpha_past)