Skip to content

Commit c766743

Browse files
authored
Minor typo fix
1 parent 96a08b6 commit c766743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorlayer/cost.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def cross_entropy_seq(logits, target_seqs, batch_size=None):#, batch_size=1, num
223223
>>> see PTB tutorial for more details
224224
>>> input_data = tf.placeholder(tf.int32, [batch_size, num_steps])
225225
>>> targets = tf.placeholder(tf.int32, [batch_size, num_steps])
226-
>>> cost = tf.cost.cross_entropy_seq(network.outputs, targets)
226+
>>> cost = tl.cost.cross_entropy_seq(network.outputs, targets)
227227
"""
228228
try: # TF 1.0
229229
sequence_loss_by_example_fn = tf.contrib.legacy_seq2seq.sequence_loss_by_example

0 commit comments

Comments
 (0)