code: def create_network_return_best(self, inputs, dropout=False):
      out = self(inputs, dropout)
      out = dy.softmax(out)
      return np.argmax(out.npvalue())
  
file_path: dynet/examples/mnist/basic-mnist-benchmarks/mnist_dynet_autobatch.py
imports: from __future__ import division
  import os
  import struct
  import argparse
  import random
  import time
  import numpy
  import dynet
label_desc: Use image node_id 4 for calling the mnist_network obj's underlying member method code with example usage: obj.create_network_return_best(inputs, dropout) and returns: np