We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sequential
Sequential{N}
Sequential{N} typealiases were added in tensorflow/swift-apis#934:
import TensorFlow // Before: typealias Model = Sequential<Dense<Float>, Sequential<Dense<Float>, Dense<Float>>> // After: typealias Model = Sequential3<Dense<Float>, Dense<Float>, Dense<Float>>
The tuple-like typealiases are easier to use. Long nested Sequential types should be rewritten to use them:
swift-models/pix2pix/Discriminator.swift
Line 18 in b0cc1c4
The text was updated successfully, but these errors were encountered:
Can I do this?
Sorry, something went wrong.
Sure!
I don't know if tensorflow/swift-apis#934 has propagated to "nightly" (six hourly) toolchains yet, I think it should have.
andrewasche
No branches or pull requests
Sequential{N}
typealiases were added in tensorflow/swift-apis#934:The tuple-like typealiases are easier to use. Long nested
Sequential
types should be rewritten to use them:swift-models/pix2pix/Discriminator.swift
Line 18 in b0cc1c4
The text was updated successfully, but these errors were encountered: