Skip to content

AttributeError: 'ndarray' object has no attribute '_id' #18

Closed
@DarrenZhang01

Description

As titled.

empirical.py", line 56, in _jvp
    return primals_out, acc.jvp(primals_out)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/eager/forwardprop.py", line 393, in jvp
    return nest.map_structure(_fetch_jvp, primals)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/util/nest.py", line 617, in map_structure
    structure[0], [func(*x) for x in entries],
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/util/nest.py", line 617, in <listcomp>
    structure[0], [func(*x) for x in entries],
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/eager/forwardprop.py", line 388, in _fetch_jvp
    result = pywrap_tfe.TFE_Py_ForwardAccumulatorJVP(self._accumulator,
AttributeError: 'ndarray' object has no attribute '_id'

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions