Browse Source

Suppress CS0618 (Type or member is obsolete)

pull/574/head
Sam Harwell 5 years ago
parent
commit
232beee56e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/TensorFlowNet.Benchmarks/Program.cs

+ 2
- 0
src/TensorFlowNet.Benchmarks/Program.cs View File

@@ -20,7 +20,9 @@ namespace TensorFlowBenchmark
}
else
{
#pragma warning disable CS0618 // Type or member is obsolete
BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()).Run(args, ManualConfig.Create(DefaultConfig.Instance).With(ConfigOptions.DisableOptimizationsValidator));
#pragma warning restore CS0618 // Type or member is obsolete
}

Console.ReadLine();


Loading…
Cancel
Save