Browse Source

Binding.Util: Minor change

tags/v0.12
Eli Belash 6 years ago
parent
commit
b34c598110
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/TensorFlowNET.Core/Binding.Util.cs

+ 1
- 2
src/TensorFlowNET.Core/Binding.Util.cs View File

@@ -175,8 +175,7 @@ namespace Tensorflow

public static IEnumerable<(T1, T2)> zip<T1, T2>(IEnumerable<T1> e1, IEnumerable<T2> e2)
{
foreach (var (v1, v2) in e1.Zip(e2, (t1, t2) => (t1, t2)))
yield return (v1, v2);
return e1.Zip(e2, (t1, t2) => (t1, t2));
}

public static IEnumerable<(TKey, TValue)> enumerate<TKey, TValue>(Dictionary<TKey, TValue> values)


Loading…
Cancel
Save