Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Autodiff fails on certain slice operators #62

Open
mdanatg opened this issue Feb 26, 2018 · 0 comments
Open

Autodiff fails on certain slice operators #62

mdanatg opened this issue Feb 26, 2018 · 0 comments

Comments

@mdanatg
Copy link

mdanatg commented Feb 26, 2018

To replicate:

import tangent
import numpy as np

def test(x, y):
    return np.dot(x[0, :], y[0, :])

test(np.random.rand(1, 3), np.random.rand(1, 3))
xxx = tangent.grad(test)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant