You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "Sheng Wang (JIRA)" <ji...@apache.org> on 2015/10/29 05:57:27 UTC
[jira] [Resolved] (SINGA-84) Header Files Rearrange
[ https://issues.apache.org/jira/browse/SINGA-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sheng Wang resolved SINGA-84.
-----------------------------
Resolution: Fixed
> Header Files Rearrange
> ----------------------
>
> Key: SINGA-84
> URL: https://issues.apache.org/jira/browse/SINGA-84
> Project: Singa
> Issue Type: Improvement
> Reporter: Wang Ji
> Labels: patch
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Rearrange the folders containing header files and split some of the header files into separate folders to reduce coupling.
> 1. Create a new folder named "singa" as the parent directory of original headers.
> Before:
> "include/comm/..."
> "include/gtest/..."
> "include/driver.h"
> "include/server.h"
> ...
> After:
> "include/singa/comm/..."
> "include/singa/gtest/..."
> "include/singa/driver.h"
> "include/singa/server.h"
> ...
> 2. Split header files from "include/neuralnet" into separate directory.
> * Split "include/nueralnet/loss_layer.h" into
> "include/singa/nueralnet/loss_layer/softmax.h"
> "include/singa/nueralnet/loss_layer/euclidean.h"
> * Split "include/nueralnet/neuron_layer.h" into
> "include/singa/nueralnet/neuron_layer/convolution.h"
> "include/singa/nueralnet/neuron_layer/dropout.h"
> "include/singa/nueralnet/neuron_layer/lrn.h"
> "include/singa/nueralnet/neuron_layer/pooling.h"
> "include/singa/nueralnet/neuron_layer/relu.h"
> "include/singa/nueralnet/neuron_layer/inner_product.h"
> "include/singa/nueralnet/neuron_layer/tanh.h"
> "include/singa/nueralnet/neuron_layer/sigmoid.h"
> "include/singa/nueralnet/neuron_layer/rbm.h"
> containing RBMLayer, RBMVisLayer, RBMHidLayer
> * Split "include/nueralnet/input_layer.h" into
> "include/singa/nueralnet/input_layer/data.h"
> containing DataLayer, ShardDataLayer, LMDBDataLayer
> "include/singa/nueralnet/input_layer/parser.h"
> containing ParserLayer, LabelLayer, MnistLayer, RGBImageLayer
> "include/singa/nueralnet/input_layer/prefetch.h"
> containing PrefetchLayer
> * Split "include/nueralnet/output_layer.h" into
> "include/singa/nueralnet/output_layer/output.h"
> * Split "include/nueralnet/connection_layer.h" into
> "include/singa/nueralnet/connection_layer/bridge.h"
> "include/singa/nueralnet/connection_layer/concate.h"
> "include/singa/nueralnet/connection_layer/slice.h"
> "include/singa/nueralnet/connection_layer/split.h"
> 3. Edit the inclusion of header files in corresponding source codes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)