Saleem Abdulrasool
54e4994f6f
test: repai the custom_derivative test
...
The test imports the C library for the math library. Add a case for
Windows.
2020-04-26 11:56:03 -07:00
Saleem Abdulrasool
e18a61f1a4
test: repair the cross_module_derivative_attr test
...
Convert to dynamic libraries, fix the run lines, remove the workaround
for the TBD validation.
2020-04-26 11:53:03 -07:00
Saleem Abdulrasool
281d5198ce
test: repair the separate_tangent_type test on Windows
2020-04-26 11:44:41 -07:00
marcrasi
a48880d13f
[AutoDiff upstream] add more validation tests ( #31190 )
2020-04-22 17:31:11 -07:00
marcrasi
433821b7d1
[AutoDiff upstream] add more validation tests ( #31112 )
2020-04-21 15:30:25 -07:00
marcrasi
99356cd9f4
[AutoDiff upstream] add more differentiation tests ( #30933 )
2020-04-13 09:40:45 -07:00
Saleem Abdulrasool
abd4b12d21
Merge pull request #30951 from compnerd/cross-module-differentiation-win
...
AutoDiff: repair the cross-module-differentiation on Windows
2020-04-10 14:42:48 -07:00
Dan Zheng
486e667904
[AutoDiff] Support direct init reference differentiation. ( #30946 )
...
Support `@differentiable` function conversion for `init` references, in
addition to `func` references and literal closures. Minor usability improvement.
Resolves SR-12562.
2020-04-10 12:23:19 -07:00
Saleem Abdulrasool
26c61f5183
AutoDiff: repair the cross-module-differentiation on Windows
...
Make the cross-module differentiation test work on Windows by converting
to a shared library to run the test.
2020-04-10 11:25:40 -07:00
Saleem Abdulrasool
ccdc8efa95
AutoDiff: repair the test on Windows
...
The name of the module is encoded into the type name. The module name
is not `null` on Windows, which would fail to match the name. It is
possible to make the test less overly-constricted, but setting the
module name to null is simpler and avoids more regex matching.
2020-04-10 08:14:54 -07:00
Dan Zheng
b4fa7e0027
[AutoDiff] Support direct init reference differentiation.
...
Support `@differentiable` function conversion for `init` references, in
addition to `func` references and literal closures. Minor usability improvement.
Resolves SR-12562.
2020-04-10 01:26:34 -07:00
marcrasi
ddef9292a6
[AutoDiff upstream] DifferentiationUnittest and some e2e tests ( #30915 )
...
Adds 2 simple e2e tests and some lit subsitutions and unittest libraries
necessary to support them.
2020-04-09 14:25:31 -07:00
Dan Zheng
c142fcf6e2
[AutoDiff] Add SynthesizedFileUnit TBDGen/serialization tests.
...
Upstream `SynthesizedFileUnit` failing tests from TF-1239.
2020-04-08 21:22:06 -07:00