Skip to content
Snippets Groups Projects
Commit 696cacfb authored by tgupta6's avatar tgupta6
Browse files

remove tailing : in losses

parent 608abd82
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ def margin_loss(y, y_pred, margin):
def multilabel_margin_loss(y, y_pred, margin):
y_list = tf.unpack(y)
y_pred_list = tf.unpack(y):
y_pred_list = tf.unpack(y)
loss = 0.0
for y_, y_pred_ in zip(y_list, y_pred_list):
partition = tf.dynamic_partition(y_pred_, y_, 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment