FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TensorFlow.NET/src/TensorFlowNET.Core/Training/_HookTimer.cs at master · BOYMMM/TensorFlow.NET · GitHub
BOYMMM
/
TensorFlow.NET
Public
forked from
SciSharp/TensorFlow.NET
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Training
/
_HookTimer.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (34 loc) · 1.07 KB
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Training
/
_HookTimer.cs
Copy path
File metadata and controls
38 lines (34 loc) · 1.07 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
35
36
37
38
using
System
;
using
System
.
Collections
.
Generic
;
using
System
.
Linq
;
using
System
.
Text
;
using
System
.
Threading
.
Tasks
;
namespace
Tensorflow
.
Training
{
/// <summary>
/// Base timer for determining when Hooks should trigger.
/// </summary>
public
abstract
class
_HookTimer
{
/// <summary>
/// Resets the timer.
/// </summary>
public
abstract
void
reset
(
)
;
/// <summary>
/// Return true if the timer should trigger for the specified step.
/// </summary>
/// <param name="step"></param>
/// <returns></returns>
public
abstract
bool
should_trigger_for_step
(
int
step
)
;
/// <summary>
/// Update the last triggered time and step number.
/// </summary>
/// <param name="step"></param>
public
abstract
void
update_last_triggered_step
(
int
step
)
;
/// <summary>
/// Returns the last triggered time step or None if never triggered.
/// </summary>
/// <returns></returns>
public
abstract
int
last_triggered_step
(
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL