Adjust gndo for inferencing, see #443.
Merge pull request #444 from lobid/issue-443-adjustgndo

Adjust gndo for inferencing