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
{{ message }}
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
There is a confusing compiler error message when compiling the code at: d6fe358
saeta@saeta:~/src/s4tf/tensorflow-swift-apis$ swift test
Compile Swift Module 'DeepLearning' (8 sources)
/home/saeta/src/s4tf/tensorflow-swift-apis/Sources/DeepLearning/Trainer.swift:35:37: error: generic parameter 'Self' could not be inferred
optimizer.update(&model.allDifferentiableVariables, along: {grad}model)
The problem is that {{
{grad}
model}} is of the wrong type, and does not correspond
The text was updated successfully, but these errors were encountered:
Imported from JIRA, filed by Brennan Saeta https://bugs.swift.org/browse/TF-313
There is a confusing compiler error message when compiling the code at: d6fe358
The problem is that {{
{grad}
model}} is of the wrong type, and does not correspond
The text was updated successfully, but these errors were encountered: