Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Commit 1e04dcf

Browse files
Dorokhovmigueldeicaza
authored andcommitted
Code on the README doesn't work (#157)
* fixed readme sample
1 parent ce819dd commit 1e04dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ using (var session = new TFSession())
8282

8383
// Add two constants
8484
var addingResults = session.GetRunner().Run(graph.Add(a, b));
85-
var addingResultValue = addingResults[0].GetValue();
85+
var addingResultValue = addingResults.GetValue();
8686
Console.WriteLine("a+b={0}", addingResultValue);
8787

8888
// Multiply two constants

0 commit comments

Comments
 (0)