You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using TensorFlow.NET for a machine learning project and facing issues with namespaces and compilation errors. Here’s a brief overview:
Environment:
TensorFlow.NET version: (specify your version)
IDE: Visual Studio 2019
OS: Windows 10
Problem:
I get several CS0246 errors stating that namespaces like Tensorflow.Keras.Optimizers and classes such as Adam, Dense, and LSTM cannot be found.
Code Snippet:
varmodel=new Sequential();
model.add(new LSTM(50, activation:"relu", input_shape:new Shape(1,10)));
model.add(new Dense(1, activation:"sigmoid"));
model.compile(new Adam(), loss:"binary_crossentropy", metrics:new[]{"accuracy"});AttemptedSolutions:
Reinstalled TensorFlow.NET via NuGet.
Searched fornamespace changes in the documentation and issues.
Could someone help me understand if there are recent changes to namespaces in TensorFlow.NET or provide guidance on how to fix these errors?
Thank you.
### Reproduction Steps
_No response_
### Known Workarounds
_No response_
### Configurationand Other Information
_No response_
The text was updated successfully, but these errors were encountered:
Description
Hello,
I'm using TensorFlow.NET for a machine learning project and facing issues with namespaces and compilation errors. Here’s a brief overview:
Environment:
Problem:
I get several CS0246 errors stating that namespaces like
Tensorflow.Keras.Optimizers
and classes such asAdam
,Dense
, andLSTM
cannot be found.Code Snippet:
The text was updated successfully, but these errors were encountered: