Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
for k, word in enumerate(sent):
x[i, j, k] = word
x_mask[i, j, k] = True
for i, ques in enumerate(Q):
for j, word in enumerate(ques):
q[i, j] = word
q_mask[i, j] = True
for i, ans in enumerate(Y):
y[i] = ans
return feed_dict
class Runner(BaseRunner):
def _get_train_op(self, **kwargs):
return self.train_ops['all']