1. Enable network state write/read
authorChenchi Luo <a0282871@ti.com>
Thu, 21 May 2015 20:33:13 +0000 (15:33 -0500)
committerChenchi Luo <a0282871@ti.com>
Thu, 21 May 2015 20:33:13 +0000 (15:33 -0500)
commit567e31e9a26863cd59f977174831708286af19fb
tree994ae1a8f512b8b1d908714b28a79ed09a16117b
parent8881d0bd73d9a0b17aa199d3c973f932052acc43
1. Enable network state write/read
2. Enable minimum memory mode for CNN testing
3. Enable batch mode for CNN testing/training
4. Add host/accelerator configurations
249 files changed:
build/makefile
debian/changelog
debian/changelog~ [new file with mode: 0644]
src/app/cnn/class/cifar10/appCNNClassCIFAR10Testing.bin [new file with mode: 0755]
src/app/cnn/class/cifar10/appCNNClassCIFAR10Testing.c
src/app/cnn/class/cifar10/appCNNClassCIFAR10Training.bin [new file with mode: 0755]
src/app/cnn/class/cifar10/appCNNClassCIFAR10Training.c
src/app/cnn/class/imagenet/appCNNClassImageNetAlexNetTesting.bin [new file with mode: 0755]
src/app/cnn/class/imagenet/appCNNClassImageNetAlexNetTesting.c
src/app/cnn/class/imagenet/appCNNClassImageNetAlexNetTestingOpenMP.bin [new file with mode: 0755]
src/app/cnn/class/imagenet/appCNNClassImageNetAlexNetTestingOpenMP.c [new file with mode: 0644]
src/app/cnn/class/imagenet/appCNNClassImageNetCaffeNetTesting.bin [new file with mode: 0755]
src/app/cnn/class/imagenet/appCNNClassImageNetCaffeNetTesting.c
src/app/cnn/class/imagenet/appCNNClassImageNetCaffeNetTraining.bin [new file with mode: 0755]
src/app/cnn/class/imagenet/appCNNClassImageNetCaffeNetTraining.c
src/app/cnn/class/imagenet/appCNNClassImageNetVGGNetTesting.bin [new file with mode: 0755]
src/app/cnn/class/imagenet/appCNNClassImageNetVGGNetTesting.c
src/app/cnn/class/mnist/appCNNClassMNISTTesting.bin [new file with mode: 0755]
src/app/cnn/class/mnist/appCNNClassMNISTTesting.c
src/app/cnn/class/mnist/appCNNClassMNISTTraining.bin [new file with mode: 0755]
src/app/cnn/class/mnist/appCNNClassMNISTTraining.c
src/app/cnn/convert/imagenet/appCNNConvertImageNet.bin [new file with mode: 0755]
src/app/cnn/convert/sbd/appCNNConvertSBD.bin [new file with mode: 0755]
src/app/cnn/interop/caffe/appCNNInteropCaffe.bin [new file with mode: 0755]
src/app/cnn/interop/caffe/appCNNInteropCaffeConvert.cpp
src/app/cnn/interop/caffe/appCNNInteropCaffeLayerTypeConvert.cpp
src/app/cnn/interop/caffe/appCNNInteropCaffeNonlinearTypeConvert.cpp
src/app/cnn/interop/caffe/appCNNInteropCaffeReadMean.cpp
src/app/cnn/scene/appCNNScene.h
src/app/cnn/scene/appCNNSceneClassify.c
src/app/cnn/scene/appCNNSceneClassifyOpenMP.c
src/app/cnn/scene/appCNNSceneGetPatch.c
src/app/cnn/scene/appCNNSceneSupervisedTraining.c
src/app/cnn/scene/sbd/appCNNSceneSBDTesting.bin [new file with mode: 0755]
src/app/cnn/scene/sbd/appCNNSceneSBDTesting.c
src/app/cnn/scene/sbd/appCNNSceneSBDTestingOpenMP.bin [new file with mode: 0755]
src/app/cnn/scene/sbd/appCNNSceneSBDTestingOpenMP.c [new file with mode: 0644]
src/app/cnn/scene/sbd/appCNNSceneSBDTraining.bin [new file with mode: 0755]
src/app/cnn/scene/sbd/appCNNSceneSBDTraining.c
src/app/makefile
src/app/makefile~ [new file with mode: 0755]
src/benchmark/cnn/class/imagenet/benchmarkCNNClassCaffeNetTesting.c
src/benchmark/cnn/class/imagenet/benchmarkCNNClassVGGNetTesting.c
src/common/api/timl.h
src/common/cnn/timlCNN.h
src/common/cnn/timlCNNAccuracyCompute.c [new file with mode: 0644]
src/common/cnn/timlCNNAccuracyForwardPropagation.c [new file with mode: 0644]
src/common/cnn/timlCNNAccuracyInitialize.c [new file with mode: 0644]
src/common/cnn/timlCNNAccuracyMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNAccuracyReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNAccuracyReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNAccuracyReadFromTextFile.c [new file with mode: 0644]
src/common/cnn/timlCNNAccuracyWriteToFile.c [new file with mode: 0644]
src/common/cnn/timlCNNAddAccuracyLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNAddConvLayer.c
src/common/cnn/timlCNNAddDropoutLayer.c
src/common/cnn/timlCNNAddInputLayer.c
src/common/cnn/timlCNNAddLinearLayer.c
src/common/cnn/timlCNNAddNonlinearLayer.c
src/common/cnn/timlCNNAddNormLayer.c
src/common/cnn/timlCNNAddPoolingLayer.c
src/common/cnn/timlCNNAddSoftmaxCostLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNAddSoftmaxLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNBackPropagation.c
src/common/cnn/timlCNNClassifyAccuracy.c [new file with mode: 0644]
src/common/cnn/timlCNNClassifyAccuracyTeamModeOpenMP.c [new file with mode: 0644]
src/common/cnn/timlCNNClone.c
src/common/cnn/timlCNNConvBackPropagation.c
src/common/cnn/timlCNNConvForwardPropagation.c
src/common/cnn/timlCNNConvInitialize.c
src/common/cnn/timlCNNConvMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNConvReadFromParamsBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNConvReadFromParamsMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNConvReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNConvReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNConvShareParams.c
src/common/cnn/timlCNNConvUpdateParams.c
src/common/cnn/timlCNNConvWriteToFile.c
src/common/cnn/timlCNNCreateConvNeuralNetwork.c
src/common/cnn/timlCNNDelete.c
src/common/cnn/timlCNNDeleteLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNDropoutBackPropagation.c
src/common/cnn/timlCNNDropoutForwardPropagation.c
src/common/cnn/timlCNNDropoutInitialize.c
src/common/cnn/timlCNNDropoutMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNDropoutReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNDropoutReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNDropoutWriteToFile.c
src/common/cnn/timlCNNForwardPropagation.c
src/common/cnn/timlCNNFree.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeAccuracyLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeConvLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeDropoutLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeInputLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeLinearLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeNonlinearLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeNormLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreePoolingLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeSoftmaxCostLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNFreeSoftmaxLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNGetParamsNum.c
src/common/cnn/timlCNNInitialize.c
src/common/cnn/timlCNNInputForwardPropagation.c
src/common/cnn/timlCNNInputInitialize.c
src/common/cnn/timlCNNInputMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNInputReadFromParamsBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNInputReadFromParamsMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNInputReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNInputReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNInputWriteToFile.c
src/common/cnn/timlCNNLayerTypeStr.c
src/common/cnn/timlCNNLinearBackPropagation.c
src/common/cnn/timlCNNLinearForwardPropagation.c
src/common/cnn/timlCNNLinearInitialize.c
src/common/cnn/timlCNNLinearMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNLinearReadFromParamsBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNLinearReadFromParamsMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNLinearReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNLinearReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNLinearShareParams.c
src/common/cnn/timlCNNLinearUpdateParams.c
src/common/cnn/timlCNNLinearWriteToFile.c
src/common/cnn/timlCNNLoadImage.c [new file with mode: 0644]
src/common/cnn/timlCNNLoadLabel.c [new file with mode: 0644]
src/common/cnn/timlCNNLoadParamsFromFile.c [new file with mode: 0644]
src/common/cnn/timlCNNLoadParamsFromMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNLoadStatesFromFile.c [new file with mode: 0644]
src/common/cnn/timlCNNLoadStatesFromMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNMaxPoolingBackPropagation.c
src/common/cnn/timlCNNMaxPoolingForwardPropagation.c
src/common/cnn/timlCNNMeanPoolingBackPropagation.c
src/common/cnn/timlCNNMeanPoolingForwardPropagation.c
src/common/cnn/timlCNNMemPoolSize.c
src/common/cnn/timlCNNMemory.c
src/common/cnn/timlCNNNonlinearBackPropagation.c
src/common/cnn/timlCNNNonlinearForwardPropagation.c
src/common/cnn/timlCNNNonlinearInitialize.c
src/common/cnn/timlCNNNonlinearMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNNonlinearReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNNonlinearReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNNonlinearWriteToFile.c
src/common/cnn/timlCNNNormBackPropagation.c
src/common/cnn/timlCNNNormForwardPropagation.c
src/common/cnn/timlCNNNormInitialize.c
src/common/cnn/timlCNNNormMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNNormReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNNormReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNNormWriteToFile.c
src/common/cnn/timlCNNPoolingForwardPropagation.c
src/common/cnn/timlCNNPoolingInitialize.c
src/common/cnn/timlCNNPoolingMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNPoolingReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNPoolingReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNPoolingWriteToFile.c
src/common/cnn/timlCNNPrint.c
src/common/cnn/timlCNNProfile.c
src/common/cnn/timlCNNReadFromFile.c
src/common/cnn/timlCNNReset.c
src/common/cnn/timlCNNResetAccuracyLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNResetSoftmaxCostLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNResetSoftmaxLayer.c [new file with mode: 0644]
src/common/cnn/timlCNNResize.c
src/common/cnn/timlCNNSetBatchSize.c [new file with mode: 0644]
src/common/cnn/timlCNNShareParams.c
src/common/cnn/timlCNNSoftmaxBackPropagation.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxCostBackPropagation.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxCostForwardPropagation.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxCostInitialize.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxCostMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxCostReadFromStatesFile.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxCostReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxCostReadFromTextFile.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxCostWriteToFile.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxForwardPropagation.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxInitialize.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxReadFromStatesBinaryFile.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxReadFromStatesMemory.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxReadFromTextFile.c [new file with mode: 0644]
src/common/cnn/timlCNNSoftmaxWriteToFile.c [new file with mode: 0644]
src/common/cnn/timlCNNSupervisedTrainingWithLabel.c [new file with mode: 0644]
src/common/cnn/timlCNNSupervisedTrainingWithLabelTeamModeOpenMP.c [new file with mode: 0644]
src/common/cnn/timlCNNTrainingParamsDefault.c
src/common/cnn/timlCNNTrainingParamsReadFromTextFile.c
src/common/cnn/timlCNNTrainingParamsWriteToFile.c
src/common/cnn/timlCNNUpdateParams.c
src/common/cnn/timlCNNWriteToFile.c
src/common/util/timlUtil.h
src/common/util/timlUtilBLAS.c
src/common/util/timlUtilConv2ImageReshape.c
src/common/util/timlUtilConv2ImageReshapeBack.c
src/common/util/timlUtilConv2ImageReshapeIndex.c
src/common/util/timlUtilDeviceReset.c [new file with mode: 0644]
src/common/util/timlUtilDeviceSetup.c [new file with mode: 0644]
src/common/util/timlUtilElementWiseMultiply.c
src/common/util/timlUtilFread.c
src/common/util/timlUtilFreeAcc.c [new file with mode: 0644]
src/common/util/timlUtilFreeHost.c [new file with mode: 0644]
src/common/util/timlUtilFwrite.c
src/common/util/timlUtilHitLabel.c [new file with mode: 0644]
src/common/util/timlUtilLocalContrastNormalize.c
src/common/util/timlUtilLocalContrastUnnormalize.c
src/common/util/timlUtilMallocAcc.c [new file with mode: 0644]
src/common/util/timlUtilMallocHost.c [new file with mode: 0644]
src/common/util/timlUtilMasking.c
src/common/util/timlUtilMaxPooling.c
src/common/util/timlUtilMeanPooling.c
src/common/util/timlUtilMemPageLock.c [new file with mode: 0644]
src/common/util/timlUtilMemcpy.c [new file with mode: 0644]
src/common/util/timlUtilMultinomialCrossEntropy.c
src/common/util/timlUtilRandContinuousUniformRNG.c
src/common/util/timlUtilRandNormalRNG.c
src/common/util/timlUtilReadCIFAR10.c
src/common/util/timlUtilRelu.c
src/common/util/timlUtilReluDerivative.c
src/common/util/timlUtilSigmoid.c
src/common/util/timlUtilSigmoidDerivative.c
src/common/util/timlUtilSoftmax.c
src/common/util/timlUtilSoftmaxJacob.c [new file with mode: 0644]
src/common/util/timlUtilSubtractLabel.c [new file with mode: 0644]
src/common/util/timlUtilTanh.c
src/common/util/timlUtilTanhDerivative.c
src/common/util/timlUtilTransform.c
src/common/util/timlUtilUndoMaxPooling.c
src/common/util/timlUtilUndoMeanPooling.c
src/common/util/timlUtilUnmasking.c
src/common/util/timlUtilVectorMaxIndexFloat.c
src/common/util/timlUtilVectorResetFloat.c
src/common/util/timlUtilVectorResetInt.c
src/common/util/timlUtilVectorSortFloat.c
src/common/util/timlUtilVectorSortIndexFloat.c
src/common/util/timlUtilVectorSumFloat.c
src/common/util/timlUtilWriteMatrix.c [new file with mode: 0644]
src/database/model/cifar10/databaseModelCIFAR10.m
src/database/model/mnist/databaseModelMNIST.m
src/database/model/sbd/databaseModelSBD.m
src/dsp/util/timlUtilDSP.h
src/dsp/util/timlUtilFreeDSP.c
src/dsp/util/timlUtilMallocDSP.c
src/test/cnn/testCNN.c
src/test/cnn/testCNN.h
src/test/cnn/testCNNSimpleClone.c
src/test/cnn/testCNNSimpleIO.c
src/test/cnn/testCNNSimpleProfile.c
src/test/cnn/testCNNSimpleResize.c
src/test/cnn/testCNNSimpleShare.c
src/test/cnn/testCNNSimpleTraining.c
src/test/cnn/testCNNSimpleTrainingOpenMP.c [new file with mode: 0644]
src/test/util/testUtilSort.c