In our derivative tests, we often use a function delta_expectations_func(k, var, delta). This function wraps a target function, and returns its value after perturbing the kth entry of the tf.Variablevar by delta. This subroutine should be made into a functional that accepts the target function, moved to test_util.py, and tested. Part of #171
In our derivative tests, we often use a function
delta_expectations_func(k, var, delta)
. This function wraps a target function, and returns its value after perturbing thek
th entry of thetf.Variable
var
bydelta
. This subroutine should be made into a functional that accepts the target function, moved totest_util.py
, and tested. Part of #171