google / google/edward2

tensorflow_probability docstring_util location

Open
#50 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
712
Forks
77
Avg merge
9h 39m
Merged PRs (30d)
1

Description

The location of the docstring_util in tensorflow_probability 0.8.0 has changed, resulting in edward2 errors such as:
```
File "/home/wibble/.conda/envs/gem/lib/python3.7/site-packages/edward2/generated_random_variables.py", line 26, in
from tensorflow_probability.python.util import docstring as docstring_util
ImportError: cannot import name 'docstring' from 'tensorflow_probability.python.util'
```

Contributor guide

Open the contributing guide

Research direction

Start by inspecting generated_random_variables.py and the failing import from tensorflow_probability.python.util shown in the traceback. Reproduce the ImportError with TensorFlow Probability 0.8.0 and trace the current docstring_util location. Done means edward2 imports successfully without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.