{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/18162","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/18162/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/18162/comments","events_url":"https://api.github.com/repos/apple/swift/issues/18162/events","html_url":"https://github.com/apple/swift/pull/18162","id":343820336,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMzYyOTM3","number":18162,"title":"[AutoDiff] Part 6: Implement adjoint synthesis","user":{"login":"rxwei","id":856507,"node_id":"MDQ6VXNlcjg1NjUwNw==","avatar_url":"https://avatars0.githubusercontent.com/u/856507?v=4","gravatar_id":"","url":"https://api.github.com/users/rxwei","html_url":"https://github.com/rxwei","followers_url":"https://api.github.com/users/rxwei/followers","following_url":"https://api.github.com/users/rxwei/following{/other_user}","gists_url":"https://api.github.com/users/rxwei/gists{/gist_id}","starred_url":"https://api.github.com/users/rxwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxwei/subscriptions","organizations_url":"https://api.github.com/users/rxwei/orgs","repos_url":"https://api.github.com/users/rxwei/repos","events_url":"https://api.github.com/users/rxwei/events{/privacy}","received_events_url":"https://api.github.com/users/rxwei/received_events","type":"User","site_admin":false},"labels":[{"id":955546636,"node_id":"MDU6TGFiZWw5NTU1NDY2MzY=","url":"https://api.github.com/repos/apple/swift/labels/tensorflow","name":"tensorflow","color":"EF6C00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-23T22:36:20Z","updated_at":"2018-07-26T11:15:46Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/18162","html_url":"https://github.com/apple/swift/pull/18162","diff_url":"https://github.com/apple/swift/pull/18162.diff","patch_url":"https://github.com/apple/swift/pull/18162.patch"},"body":"This patch implements adjoint synthesis for automatic differentiation. An _adjoint_ function corresponds to a _primal_ function, representing the reverse sweep on the _original_ function.\r\n\r\nSee [Automatic Differentiation in Swift](https://github.com/tensorflow/swift/blob/master/docs/AutomaticDifferentiation.md) for more information about the _adjoint_ function.\r\n\r\nAdjoint synthesis consists of three parts:\r\n* `AdjointValue` (#18149) caches adjoint values that can be trivially optimized according to their mathematical properties.\r\n* `AdjointRematCloner` rematerializes non-checkpointed primal values on demand.\r\n* `AdjointEmitter` performs a reverse sweep on the original function, emitting the adjoint code for values that are active."},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/408063137","html_url":"https://github.com/apple/swift/pull/18162#issuecomment-408063137","issue_url":"https://api.github.com/repos/apple/swift/issues/18162","id":408063137,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODA2MzEzNw==","user":{"login":"rxwei","id":856507,"node_id":"MDQ6VXNlcjg1NjUwNw==","avatar_url":"https://avatars0.githubusercontent.com/u/856507?v=4","gravatar_id":"","url":"https://api.github.com/users/rxwei","html_url":"https://github.com/rxwei","followers_url":"https://api.github.com/users/rxwei/followers","following_url":"https://api.github.com/users/rxwei/following{/other_user}","gists_url":"https://api.github.com/users/rxwei/gists{/gist_id}","starred_url":"https://api.github.com/users/rxwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxwei/subscriptions","organizations_url":"https://api.github.com/users/rxwei/orgs","repos_url":"https://api.github.com/users/rxwei/repos","events_url":"https://api.github.com/users/rxwei/events{/privacy}","received_events_url":"https://api.github.com/users/rxwei/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T11:15:46Z","updated_at":"2018-07-26T11:15:46Z","author_association":"COLLABORATOR","body":"@swift-ci please test tensorflow"}}
{"actor":{"display_login":"rxwei"}}