forked from SciSharp/TensorFlow.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIExample.cs
More file actions
34 lines (31 loc) · 794 Bytes
/
IExample.cs
File metadata and controls
34 lines (31 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.Text;
namespace TensorFlowNET.Examples
{
/// <summary>
/// Interface of Example project
/// All example should implement IExample so the entry program will find it.
/// </summary>
public interface IExample
{
/// <summary>
/// running order
/// </summary>
int Priority { get; }
/// <summary>
/// True to run example
/// </summary>
bool Enabled { get; }
string Name { get; }
/// <summary>
/// Build dataflow graph, train and predict
/// </summary>
/// <returns></returns>
bool Run();
/// <summary>
/// Prepare dataset
/// </summary>
void PrepareData();
}
}