You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2023. It is now read-only.
[Tensor] Add a VJP for 'init(_:)' (scalars) and 'init(shape:scalars:)'. (#512)
Add a VJP for the `init(_:)` which takes an array of scalars and `init(shape:scalars:)` which takes a shape and an array of scalars. Both VJPs are merely returning the original value and a transpose, because `init(_:)` and `init(shape:scalars:)` are linear.
Resolves#510 and #511.
0 commit comments