initial implementation of deep net decoder