Skip to content

Commit 30ceacb

Browse files
authored
fix example model call
1 parent a172845 commit 30ceacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/load_frozen_graph/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ int main() {
88

99
auto input = cppflow::fill({10, 5}, 1.0f);
1010
std::cout << "start" << std::endl;
11-
cppflow::model model("../model.pb", {});
11+
cppflow::model model("../model.pb", cppflow::model::FROZEN_GRAPH);
1212
auto output = model({{"x:0", input}}, {{"Identity:0"}})[0];
1313

1414
std::cout << output << std::endl;

0 commit comments

Comments
 (0)