Browse Source

Examples project: execute example even if disabled if specified by name

tags/v0.9
Meinrad Recheis 6 years ago
parent
commit
58b9956ef0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/TensorFlowNET.Examples/Program.cs

+ 1
- 1
test/TensorFlowNET.Examples/Program.cs View File

@@ -33,7 +33,7 @@ namespace TensorFlowNET.Examples
try
{
if (example.Enabled)
if (example.Enabled || args.Length > 0) // if a specific example was specified run it, regardless of enabled value
{
sw.Restart();
bool isSuccess = example.Run();


Loading…
Cancel
Save