MachineIntelligenceCore:NeuralNets
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
mnist_batch_visualization_test.cpp File Reference

Program for MNIST batch Visualization. More...

#include <boost/thread/thread.hpp>
#include <boost/bind.hpp>
#include <importers/MNISTMatrixImporter.hpp>
#include <logger/Log.hpp>
#include <logger/ConsoleOutput.hpp>
#include <application/ApplicationState.hpp>
#include <configuration/ParameterServer.hpp>
#include <opengl/visualization/WindowManager.hpp>
#include <opengl/visualization/WindowGrayscaleBatch.hpp>
Include dependency graph for mnist_batch_visualization_test.cpp:

Go to the source code of this file.

Functions

void batch_function (void)
 Function for batch sampling. More...
 
int main (int argc, char *argv[])
 Main program function. Runs two threads: main (for GLUT) and another one (for data processing). More...
 

Variables

WindowGrayscaleBatch< float > * w_batch
 Window for displaying the MNIST batch. More...
 
mic::importers::MNISTMatrixImporter
< float > * 
importer
 MNIST importer. More...
 

Detailed Description

Program for MNIST batch Visualization.

Copyright (C) tkornuta, IBM Corporation 2015-2019

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author
tkornuta
Date
: 30-03-2017

Copyright (c) 2017, Tomasz Kornuta, IBM Corporation. All rights reserved.

Definition in file mnist_batch_visualization_test.cpp.

Function Documentation

void batch_function ( void  )

Function for batch sampling.

Author
tkornuta

Definition at line 53 of file mnist_batch_visualization_test.cpp.

References importer, and w_batch.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Main program function. Runs two threads: main (for GLUT) and another one (for data processing).

Author
tkornuta
Parameters
[in]argcNumber of parameters (passed to glManaged).
[in]argvList of parameters (passed to glManaged).
Returns
(not used)

Definition at line 92 of file mnist_batch_visualization_test.cpp.

References batch_function(), importer, and w_batch.

Here is the call graph for this function:

Variable Documentation

mic::importers::MNISTMatrixImporter<float>* importer

MNIST importer.

Definition at line 46 of file mnist_batch_visualization_test.cpp.

Referenced by batch_function(), and main().

WindowGrayscaleBatch<float>* w_batch

Window for displaying the MNIST batch.

Definition at line 44 of file mnist_batch_visualization_test.cpp.

Referenced by batch_function(), and main().