-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Wait for #2615] Enable Mixed Precision Training in NNTrainer @open sesame 11/09 15:18 #2663
Changes from all commits
b3bb95a
9f168a5
7e74984
239ca4e
649c92c
4e37e89
b2c2e11
f669054
122d86c
8afa85b
757cea7
40cf748
e104427
6cf1a09
a4dada0
1e40557
ae24fa3
e319919
6f1e370
58bdb58
766481d
1b3f3af
e050e83
224b3e5
13a6d1e
b64a8c1
bd5ff2d
c4fd54f
59ad4fc
51fe049
f024585
ea4dd22
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,13 @@ class GraphCore { | |
*/ | ||
const std::shared_ptr<GraphNode> &getSortedNode(unsigned int ith) const; | ||
|
||
/** | ||
* @brief getter of Sorted GraphNode index with name | ||
* @param[in] layer name | ||
* @ret index | ||
*/ | ||
const unsigned int getSortedNodeIdx(const std::string &name) const; | ||
|
||
/** | ||
* @brief getter of GraphNode with node name | ||
* @param[in] node name | ||
|
@@ -249,9 +256,10 @@ class GraphCore { | |
private: | ||
std::vector<std::shared_ptr<GraphNode>> input_list; | ||
std::vector<std::shared_ptr<GraphNode>> output_list; | ||
std::vector<std::shared_ptr<GraphNode>> | ||
node_list; /**< Unordered Node List */ | ||
std::unordered_map<std::string, int> node_map; /**< Unordered Node map */ | ||
std::vector<std::shared_ptr<GraphNode>> node_list; /**< Unordered Node List */ | ||
std::unordered_map<std::string, int> node_map; /**< Unordered Node map */ | ||
std::unordered_map<std::string, int> | ||
sorted_node_map; /**< Unordered Node map */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. quick question! what does this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, we do have two node lists at compile time: one for the node list defined by the user and another for the node list sorted by topological sort. Until we finish the compilation, we are not sure the user-defined node list will be used, so we will keep the two node lists. Therefore we do need two node list maps as well. |
||
std::vector<std::shared_ptr<GraphNode>> Sorted; /**< Ordered Node List */ | ||
bool sorted; /** if the node_list is sorted */ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pure question : is enabling avx is going default from now on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will modify the meson to work only if it is available.