Commit f92daf92 by Tang, Cheng Committed by Tianqi Chen

use uint32_t (#478)

parent 2864fe4e
...@@ -67,7 +67,7 @@ Graph AlterOpLayout(const Graph& src) { ...@@ -67,7 +67,7 @@ Graph AlterOpLayout(const Graph& src) {
in_layouts_of_node[nid] = in_layout; in_layouts_of_node[nid] = in_layout;
std::vector<Layout> out_layout; std::vector<Layout> out_layout;
for (uint i = 0; i < inode.source->num_outputs(); ++i) { for (uint32_t i = 0; i < inode.source->num_outputs(); ++i) {
out_layout.emplace_back(layouts[idx_graph.entry_id(nid, i)]); out_layout.emplace_back(layouts[idx_graph.entry_id(nid, i)]);
} }
out_layouts_of_node[nid] = out_layout; out_layouts_of_node[nid] = out_layout;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment