Skip to content

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarjoshi90 committed Nov 17, 2019
1 parent 6db8cac commit 248921b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion independent.py
Expand Up @@ -444,7 +444,6 @@ def get_slow_antecedent_scores(self, top_span_emb, top_antecedents, top_antecede
if segment_distance is not None:
with tf.variable_scope('segment_distance', reuse=tf.AUTO_REUSE):
segment_distance_emb = tf.gather(tf.get_variable("segment_distance_embeddings", [self.config['max_training_sentences'], self.config["feature_size"]], initializer=tf.truncated_normal_initializer(stddev=0.02)), segment_distance) # [k, emb]
span_width_emb = tf.nn.dropout(segment_distance_emb, self.dropout)
feature_emb_list.append(segment_distance_emb)

feature_emb = tf.concat(feature_emb_list, 2) # [k, c, emb]
Expand Down

0 comments on commit 248921b

Please sign in to comment.