Necessary changes for tf20

Changed the example, so it runs on tensorflow version 2.0. Only very few changes had to be made, mostly compat.v1.

Merge request reports

Loading