Browse Source

make GlorotUniform true as default.

tags/v0.13
Oceania2018 5 years ago
parent
commit
ed2aa36687
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/TensorFlowNET.Core/Operations/Initializers/GlorotUniform.cs

+ 2
- 0
src/TensorFlowNET.Core/Operations/Initializers/GlorotUniform.cs View File

@@ -20,9 +20,11 @@ namespace Tensorflow.Operations.Initializers
{
public GlorotUniform(float scale = 1.0f,
string mode = "FAN_AVG",
bool uniform = true,
int? seed = null,
TF_DataType dtype = TF_DataType.TF_FLOAT) : base(factor: scale,
mode: mode,
uniform: uniform,
seed: seed,
dtype: dtype)
{


Loading…
Cancel
Save