-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
田晶晶
authored and
田晶晶
committed
Oct 20, 2018
1 parent
f9d997b
commit bd52b2a
Showing
24 changed files
with
101 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// | ||
// Created by unsky on 02/07/18. | ||
// | ||
|
||
#ifndef SITA_FILLER_FILLER_H | ||
#define SITA_FILLER_FILLER_H | ||
#include <vector> | ||
#include <glog/logging.h> | ||
#include <string> | ||
#include "sita/macros.h" | ||
#include <google/protobuf/io/coded_stream.h> | ||
#include <google/protobuf/io/zero_copy_stream_impl.h> | ||
#include <google/protobuf/text_format.h> | ||
#include "sita/proto/sita.h" | ||
#include "sita/io_protobuff.h" | ||
namespace sita{ | ||
|
||
class Filler{ | ||
public: | ||
Filler(std::string model_file); | ||
~Filler(){}; | ||
void graph_symbol_show(); | ||
GraphParameter * graph_sym(){ | ||
return &_graph;} | ||
|
||
private: | ||
GraphParameter _graph; | ||
|
||
}; | ||
|
||
}//namespace | ||
|
||
|
||
#endif //SITA_STUFF_GRAPH_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// | ||
// Created by unsky on 02/07/18. | ||
// | ||
|
||
#ifndef SITA_METRIC_METRIC_H | ||
#define SITA_METRIC_METRIC_H | ||
#include <vector> | ||
#include <glog/logging.h> | ||
#include <string> | ||
#include "sita/macros.h" | ||
#include <google/protobuf/io/coded_stream.h> | ||
#include <google/protobuf/io/zero_copy_stream_impl.h> | ||
#include <google/protobuf/text_format.h> | ||
#include "sita/proto/sita.h" | ||
#include "sita/io_protobuff.h" | ||
namespace sita{ | ||
|
||
class Metric{ | ||
public: | ||
Metric(std::string model_file); | ||
~Metric(){}; | ||
void graph_symbol_show(); | ||
GraphParameter * graph_sym(){ | ||
return &_graph;} | ||
|
||
private: | ||
GraphParameter _graph; | ||
|
||
}; | ||
|
||
}//namespace | ||
|
||
|
||
#endif //SITA_STUFF_GRAPH_H |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/sita/dlflow/operators/batch_norm.cpp → src/sita/operators/batch_norm.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/sita/dlflow/operators/batch_norm.cu → src/sita/operators/batch_norm.cu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/sita/dlflow/operators/convolution.cpp → src/sita/operators/convolution.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/sita/dlflow/operators/convolution.cu → src/sita/operators/convolution.cu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/sita/dlflow/operators/relu.cpp → src/sita/operators/relu.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters