Skip to content
Snippets Groups Projects
Commit f92daf92 authored by Tang, Cheng's avatar Tang, Cheng Committed by Tianqi Chen
Browse files

use uint32_t (#478)

parent 2864fe4e
No related branches found
No related tags found
No related merge requests found
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment