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

Conditionally conform SIMD types to Differentiable

    XMLWordPrintable

    Details

      Description

      SIMD vector types can conditionally conform to Differentiable when the Scalar type conforms to Differentiable.

      Example:

      extension SIMD2 : Differentiable where Scalar : Differentiable { ... }
      extension SIMD3 : Differentiable where Scalar : Differentiable { ... }
      ...
      

      Changes should be made in SIMDVectorTypes.swift.gyb.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bartchr808 Bart Chrzaszcz
              Reporter:
              danzheng Dan Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: