tensorflow / swift-models

Models and examples built with Swift for TensorFlow
Apache License 2.0
646 stars 146 forks source link

WordSeg: repair build on Windows #692

Closed compnerd closed 3 years ago

compnerd commented 3 years ago

Importing ucrt is insufficient since we rely on the type-generic operation to convert the Float to what would be operations on Double otherwise.

compnerd commented 3 years ago

Note that the complexity here is due to the fact that the TF branch is significantly behind main at this point. MSVCRT has been renamed CRT and this just will make the transition easier for swift-models.