Browse Source

add name property #133

tags/v0.1.0-Tensor
Oceania2018 6 years ago
parent
commit
1fb41de9e4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/TensorFlowNET.Core/Variables/RefVariable.cs

+ 2
- 0
src/TensorFlowNET.Core/Variables/RefVariable.cs View File

@@ -17,6 +17,8 @@ namespace Tensorflow
public Operation initializer => _initializer_op;
public Operation op => _initializer_op;

public string name => _variable.name;

public RefVariable(object initial_value,
bool trainable = true,
List<string> collections = null,


Loading…
Cancel
Save