From ed2aa3668711e76e66c7fffd97e14f4c9f1587a1 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Sun, 24 Nov 2019 20:39:31 -0600 Subject: [PATCH] make GlorotUniform true as default. --- src/TensorFlowNET.Core/Operations/Initializers/GlorotUniform.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TensorFlowNET.Core/Operations/Initializers/GlorotUniform.cs b/src/TensorFlowNET.Core/Operations/Initializers/GlorotUniform.cs index 0eead27d..d6162103 100644 --- a/src/TensorFlowNET.Core/Operations/Initializers/GlorotUniform.cs +++ b/src/TensorFlowNET.Core/Operations/Initializers/GlorotUniform.cs @@ -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) {