Uploaded image for project: ' Swift for TensorFlow'
  1. Swift for TensorFlow
  2. TF-351

Fixit '.withoutDerivative()' is inserted to the wrong place

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Component/s: Autodiff
    • Labels:

      Description

      Before insertion:

      return softmaxCrossEntropy(logits: logits, labels: y)
      

      After insertion:

      return softmaxCrossEntropy.withoutDerivative()(logits: logits, labels: y)
      

      This is wrong. Should add to the result, not the function.

        Attachments

          Activity

            People

            Assignee:
            danzheng Dan Zheng
            Reporter:
            xinranmsn Richard Wei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: