Skip to content

differentiable-swift/swift-differentiation-testing

Repository files navigation

swift-differentiation-testing

This repository serves as a test suite of crashes and other broken behaviour related to the Differentiable Swift language feature. It aims to provide a low bar for Differentiable Swift users to provide reproducers to crashes or incorrect behaviour. Tests that reproduce currently broken behaviour are added as expecting to fail and once fixed in future toolchain releases will be marked as fixed and used to run as a test suite. The tests are currently divided into 3 different categories:

  • Compiletime crash tests, checks for unexpected crashes while compiling code.
  • Runtime crash tests, checks for unexpected crashes while running code.
  • Runtime validation tests, checks for incorrect results while running code.

New tests can be added as either failing or passing. Failing tests, once fixed will be moved to passing to act as a testsuite to prevent unforeseen changes.

Overview

Currently this repository provides the following:

Differentiable Swift

The goal of the Differentiable Swift language feature is to provide first-class, language-integrated support for differentiable programming, making Swift the first general-purpose, statically typed programming language to have automatic differentiation built in. Originally developed as part of the Swift for TensorFlow project, teams at PassiveLogic and elsewhere are currently working on it. Differentiable Swift is purely a language feature and isn't tied to any specific machine learning framework or platform. To find out more, have a look at our library differentiable-swift or our other repositories.

Contributing

If you run into something that's broken please file an issue! If you have code that reproduces broken behaviour add it to the issue so that we can more easily debug or help with the problem you're running into.

License

This library is released under the Apache 2.0 license. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •