Swift For TensorFlow
Swift for TensorFlow でMNIST (全結合NN編)
この前の続き。あとあと更新する予定 Tensorの宣言 PyTorch と S4TFのTensorの宣言を比較しながら見ていきます。 PyTorch import torch a = torch.tensor([1, 2, 3, 4, 5]) np_a = a.numpy() # NumPy配列にする。 Swift for TensorFlow import TensorFlow im…
Swift for TensorFlowで遊ぶ際、Matplotlibがちゃんと表示されなかったり、Pythonのライブラリをインポートしようとしたらクラッシュする等の解決についての話。
Xcode上のSwift For TensorFlowで「Array input is not a constant array of tensors」というエラー出た場合のXcodeの再設定の方法。