Closed tatianacv closed 1 year ago
I see 8 tests here. Does that mean the other four we already have?
Yes, three of them (tf.Variable
, tf.zeros
, and tf.constant
) were made in https://github.com/ponder-lab/Hybridize-Functions-Refactoring/pull/222 and for tf.ones
it was added in https://github.com/ponder-lab/Hybridize-Functions-Refactoring/commit/be2e3ed4ea9e3725b611be437e94df0383f45117#diff-4747e644d061f7c61d040ee06aa8ea90e61fbd234ef111d7d6af8e93cf34ef64
Fixes #221.
Commits
git diff
andgit status
to check my work carefully before committing.Expectations
Add more tests for new TF2 APIs added in https://github.com/wala/ML/commit/ed9dd4fe5285be1974afa83e81ca93ca3f9d25fa
Testing
git stash
to temporarily reset the working directory).testHasLikelyTensorParameter24
: tests TF2 APItf.SparseTensor
testHasLikelyTensorParameter25
: tests TF2 APItf.Tensor
testHasLikelyTensorParameter26
: tests TF2 APItf.fill
testHasLikelyTensorParameter27
: tests TF2 APItf.eye
testHasLikelyTensorParameter28
: tests TF2 APItf.zeros_like
testHasLikelyTensorParameter29
: tests TF2 APItf.one_hot
testHasLikelyTensorParameter30
: tests TF2 APItf.convert_to_tensor
testHasLikelyTensorParameter31
: tests TF2 APItf.range
Final Checks