Commit c24b7cbf authored by nd-02110114's avatar nd-02110114
Browse files

🔥 remove unused functions

parent bc01f5ae
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -261,9 +261,3 @@ def _ensure_float(output, labels):
  if labels.dtype not in (tf.float32, tf.float64):
    labels = tf.cast(labels, tf.float32)
  return (output, labels)


def _ensure_long(labels):
  """Make sure the outputs are Long types."""
  labels = [val.long() for val in labels]
  return labels