forked from SciSharp/TensorFlow.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathops.GraphKeys.cs
More file actions
32 lines (30 loc) · 1.16 KB
/
ops.GraphKeys.cs
File metadata and controls
32 lines (30 loc) · 1.16 KB
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
using System;
using System.Collections.Generic;
using System.Text;
namespace Tensorflow
{
public partial class ops
{
/// <summary>
/// Standard names to use for graph collections.
/// The standard library uses various well-known names to collect and
/// retrieve values associated with a graph. For example, the
/// `tf.Optimizer` subclasses default to optimizing the variables
/// collected under `tf.GraphKeys.TRAINABLE_VARIABLES` if none is
/// specified, but it is also possible to pass an explicit list of
/// variables.
/// </summary>
public static class GraphKeys
{
/// <summary>
/// the subset of `Variable` objects that will be trained by an optimizer.
/// </summary>
public static string TRAINABLE_VARIABLES = "trainable_variables";
/// <summary>
/// Key to collect Variable objects that are global (shared across machines).
/// Default collection for all variables, except local ones.
/// </summary>
public static string GLOBAL_VARIABLES = "variables";
}
}
}