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
* Make OrderedSet inherit from collections.abc.Set
* Make Init take Set[Tensor] keys
* Make Select take Set[Tensor] keys
* Make Differentiate, Jac and Grad take OrderedSet[Tensor] outputs and inputs
* Move the cast to list of outputs and inputs from Jac._differentiate and Grad._differentiate to Differentiate.__init__
* Change as_tensor_list to as_checked_ordered_set and make it check that the provided tensors are unique
* Stop allowing repeated tensors to differentiate in backward and mtl_backward
* Remove changelog entry saying that we allow repeated outputs
* Change the implementation backward and mtl_backward to reduce the number of casts and use only OrderedSets
* Add changelog entry saying that we refactored internal types and that this should improve performance
---------
Co-authored-by: Pierre Quinton <pierre.quinton@gmail.com>
0 commit comments