Browse Source

Merge branch 'master' of https://github.com/SciSharp/TensorFlow.NET

tags/keras_v0.3.0
Oceania2018 5 years ago
parent
commit
1e8ab47058
2 changed files with 6 additions and 4 deletions
  1. +3
    -3
      README.md
  2. +3
    -1
      src/TensorFlowNET.Core/Tensors/Tensor.Assign.cs

+ 3
- 3
README.md View File

@@ -28,10 +28,10 @@ In comparison to other projects, like for instance [TensorFlowSharp](https://www

| TensorFlow | tf native1.14 | tf native 1.15 | tf native 2.3 |
| -------------------------- | ------------- | -------------- | ------------- |
| tf.net 0.3x, tf.keras 0.2x | | | x |
| tf.net 0.3x, tf.keras 0.2 | | | x |
| tf.net 0.2x | | x | x |
| tf.net 0.1x | x | x | |
| tf.net 0.1x | x | | |
| tf.net 0.15 | x | x | |
| tf.net 0.14 | x | | |

Troubleshooting of running example or installation, please refer [here](tensorflowlib/README.md).



+ 3
- 1
src/TensorFlowNET.Core/Tensors/Tensor.Assign.cs View File

@@ -18,7 +18,9 @@ namespace Tensorflow
return OriginalVar;
}
else
throw new RuntimeError("Operation doesn't support.");
{
throw new RuntimeError($"Operation doesn't support. {this.name} is a constant tensor. Make sure to initiate {this.name} from tf.Variable() and declare {this.name} as ResourceVariable or var.");
}
}
}
}

Loading…
Cancel
Save