Dan Zheng

Results 38 issues of Dan Zheng

`ElementaryFunctions` was added to apple/swift with [conformances for `SIMD` types](https://github.com/stephentyrone/swift/blob/8708c7b5819e45e1f44fafd4e0ad02affb3535ad/stdlib/public/core/MathFunctions.swift.gyb#L128-L172). It seems those conformances were dropped when `ElementaryFunctions` was moved to apple/swift-numerics. Is it reasonable to re-add `SIMD{n}: ElementaryFunctions` conformances...

The current macOS toolchain installation instructions are copied from https://swift.org/download: ![image](https://user-images.githubusercontent.com/5590046/72133333-04342c00-3336-11ea-9ec1-8be247fec1a4.png) However, `$PATH` and `xcrun --toolchain swift` are not the easiest to work with. There have been multiple issues over...

The [default issue template](https://github.com/tensorflow/swift/blob/master/.github/ISSUE_TEMPLATE/00-default-issue.md) suggests that all Swift for TensorFlow issues should filed on [bugs.swift.org](https://bugs.swift.org): > We are using [JIRA](https://bugs.swift.org) instead of GitHub issues to track our work in order...

Add GitHub Actions workflow for: - Downloading and installing a swift.org/download macOS development snapshot - Building tensorflow/swift-apis via CMake - Installing tensorflow/swift-apis into the toolchain via CMake - Repackaging the...

`VectorProtocol.VectorSpaceScalar` [was changed](https://github.com/tensorflow/swift-apis/pull/1139/files#r537911457) from an associated type to a hardcoded typealias for `Float`. (I believe this simplification (removing `VectorSpaceScalar` as a customization point) made it easier to enable building `tensorflow/swift-apis`...

help wanted

Add a `SequentialComposition` layer wrapper type. `SequentialComposition` is a `Layer` that wraps a collection, applying each element in sequence to an input to produce an output. The `callAsFunction` method calls...

https://github.com/tensorflow/swift-apis/pull/758 adds Python TensorFlow reference implementations for optimizer numerical correctness. This issue tracks numerical differences between Swift optimizer implementations and the reference implementations. See references to TF-759 in `Tests/TensorFlowTests/OptimizerTests.swift` for...

help wanted

Swift for TensorFlow should provide standard linear algebra operations from [`tf.linalg`](https://www.tensorflow.org/api_docs/python/tf/linalg)/[`np.linalg`](https://docs.scipy.org/doc/numpy-1.13.0/reference/routines.linalg.html): - [x] [`tf.linalg.band_part`](https://www.tensorflow.org/api_docs/python/tf/linalg/band_part) - Done in https://github.com/tensorflow/swift-apis/pull/571. - [x] [`tf.linalg.cholesky`](https://www.tensorflow.org/api_docs/python/tf/linalg/cholesky) - Done in https://github.com/tensorflow/swift-apis/pull/563. - [ ] [`tf.linalg.cholesky_solve`](https://www.tensorflow.org/api_docs/python/tf/linalg/cholesky_solve) -...

Layers currently lack derivative tests. * Tensor operation derivatives are tested in `Tests/TensorFlowTests/TensorAutoDiffTests.swift`. * Layers are tested in `Tests/TensorFlowTests/LayerTests.swift`. (#77) Consider adding layer derivative tests to `Tests/TensorFlowTests/LayerTests.swift`, alongside layer "forward-pass"...

help wanted
good first issue