Browse Source

The Graph of variable. #139

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

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

@@ -17,6 +17,7 @@ namespace Tensorflow
private Operation _initializer_op; private Operation _initializer_op;
public Operation initializer => _initializer_op; public Operation initializer => _initializer_op;
public Operation op => _variable.op; public Operation op => _variable.op;
public Graph graph => _variable.Graph;
public TF_DataType dtype => _variable.dtype; public TF_DataType dtype => _variable.dtype;
public TensorShape shape => tensor_util.to_shape(_variable.shape); public TensorShape shape => tensor_util.to_shape(_variable.shape);




Loading…
Cancel
Save