tangent icon indicating copy to clipboard operation
tangent copied to clipboard

Source-to-Source Debuggable Derivatives in Pure Python

Results 21 tangent issues
Sort by recently updated
recently updated
newest added

Hi i opened your [tutorial notebook](https://colab.research.google.com/notebook#fileId=1cjoX9GteBymbnqcikNMZP1uenMcwAGDe) and run the cells in notebook. after installing tangent at cell with following code: ```python import tangent df = tangent.grad(f) ``` the following error...

There is a small typo in tangent/naming.py. Should read `substituted` rather than `subtituted`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

I'm using TF 2.0, and I get this error when I import tangent, due to a list of non-differentiable functions that includes `tf.to_float` (line 60), which is deprecated: https://www.tensorflow.org/versions/r1.14/api_docs/python/tf/to_float

help wanted
good first issue

Workaround for #97 - gast < 0.3.0 has the old-style API needed by LITERALS in tangent.grammar (`gast.Num`, `gast.Str`, etc.).

As referenced in the [3.8 documentation](https://docs.python.org/3/library/ast.html), the `ast.Num`, `ast.Str`, etc. classes are deprecated and being removed in future versions. To support this (?), the gast library has changed to replace...

Hi, Do you think the following is correct? ``` def fft2(x): return np.fft.fft2(x) @adjoint(fft2) def dfft2(y, x): d[x] = np.fft.fft2(d[y]) def ifft2(x): return np.fft.ifft2(x) @adjoint(ifft2) def difft2(y, x): d[x] =...

Sorry if the example is not very minimal. I have a function defined as sum_C -log poisson(observed_C | sum_P {eff_CP @ (n_P * mu_P)}) where everything is constant except for...

Python version: Python 3.6.4 (Anaconda, Inc) Distributor ID: Ubuntu Description: Ubuntu 17.10 Release: 17.10 Codename: artful i got this error message when importing `tangent`. ``` vicky@linux:~$ python -c "import tangent"...