def _do_ncs_initialize(self):
        """Create and opens the Neural Compute device and create a MnistProcessor."""

        file_folder = os.path.dirname(os.path.realpath(__file__))
        graph_filename = file_folder + '/mnist_inference'
        
        self._plugin = IEPlugin(device="MYRIAD")
        # Create processor object for this network
        self._net_processor = MnistProcessor(graph_filename, self._plugin)
Create and opens the Neural Compute device and create a MnistProcessor.
apps/mnist_calc/mnist_calc.py