Skip to content

Commit 862ff66

Browse files
committed
2 parents fda7e6d + 4eb9323 commit 862ff66

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/TensorFlowNET.Core/Data/DatasetV2.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ public override string ToString()
132132
break;
133133
}
134134

135-
yield return results.Length == 2
136-
? (results[0], results[1])
137-
: (null, results[0]);
135+
yield return (results[0], results.Length == 1 ? null : results[1]);
138136
}
139137
}
140138

0 commit comments

Comments
 (0)