示例#1
0
 public VariableScope(bool reuse,
                      string name       = "",
                      string name_scope = "",
                      TF_DataType dtype = TF_DataType.TF_FLOAT)
 {
     _name       = name;
     _name_scope = name_scope;
     _reuse      = _ReuseMode.AUTO_REUSE;
     _dtype      = dtype;
 }
示例#2
0
 public void reuse_variables()
 {
     _reuse = _ReuseMode.AUTO_REUSE;
 }