[Autodiff upstream] Upstream autodiff unittests (#30709)
[Autodiff upstream] Upstream autodiff unittests (#30709)

* Adding @transpose attr deserialization support

* Turning on the transpose serialization test

* Adding the autodiff unittests
airspeedswift/swift,parkera/swift,nathawes/swift,harlanhaskins/swift,parkera/swift,JGiola/swift,aschwaighofer/swift,parkera/swift,allevato/swift,glessard/swift,airspeedswift/swift,stephentyrone/swift,allevato/swift,roambotics/swift,gregomni/swift,benlangmuir/swift,roambotics/swift,atrick/swift,xwu/swift,aschwaighofer/swift,nathawes/swift,jmgc/swift,airspeedswift/swift,harlanhaskins/swift,harlanhaskins/swift,JGiola/swift,jckarter/swift,CodaFi/swift,hooman/swift,tkremenek/swift,rudkx/swift,apple/swift,rudkx/swift,apple/swift,tkremenek/swift,hooman/swift,atrick/swift,xwu/swift,jmgc/swift,nathawes/swift,stephentyrone/swift,glessard/swift,allevato/swift,parkera/swift,jckarter/swift,apple/swift,glessard/swift,rudkx/swift,jmgc/swift,CodaFi/swift,xwu/swift,tkremenek/swift,apple/swift,benlangmuir/swift,airspeedswift/swift,jckarter/swift,ahoppen/swift,CodaFi/swift,jckarter/swift,JGiola/swift,gregomni/swift,rudkx/swift,stephentyrone/swift,xwu/swift,ahoppen/swift,atrick/swift,parkera/swift,jckarter/swift,hooman/swift,glessard/swift,hooman/swift,allevato/swift,apple/swift,atrick/swift,ahoppen/swift,gregomni/swift,benlangmuir/swift,nathawes/swift,harlanhaskins/swift,CodaFi/swift,CodaFi/swift,parkera/swift,aschwaighofer/swift,jmgc/swift,atrick/swift,jmgc/swift,benlangmuir/swift,rudkx/swift,allevato/swift,airspeedswift/swift,tkremenek/swift,JGiola/swift,atrick/swift,ahoppen/swift,parkera/swift,benlangmuir/swift,nathawes/swift,ahoppen/swift,jmgc/swift,harlanhaskins/swift,tkremenek/swift,aschwaighofer/swift,hooman/swift,allevato/swift,gregomni/swift,harlanhaskins/swift,hooman/swift,stephentyrone/swift,gregomni/swift,CodaFi/swift,xwu/swift,roambotics/swift,gregomni/swift,xwu/swift,rudkx/swift,nathawes/swift,parkera/swift,harlanhaskins/swift,jckarter/swift,aschwaighofer/swift,jmgc/swift,benlangmuir/swift,airspeedswift/swift,jckarter/swift,roambotics/swift,roambotics/swift,xwu/swift,CodaFi/swift,nathawes/swift,allevato/swift,aschwaighofer/swift,glessard/swift,JGiola/swift,aschwaighofer/swift,hooman/swift,ahoppen/swift,roambotics/swift,stephentyrone/swift,tkremenek/swift,JGiola/swift,glessard/swift,airspeedswift/swift,stephentyrone/swift,stephentyrone/swift,apple/swift,tkremenek/swift