Simple RNN in swift

  • let sys = Python.import(“sys”)
  • sys.path.append(“/anaconda3/lib/python3.6/site-packages”)
  • var bh_python = np.zeros([hidden_size, 1])
  • var bh_swift = Tensor<Float>( zeros:[hidden_size, 1 ] )

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kaspar Lund

Kaspar Lund

More from Medium

Journey to became an iOS Developer

Struct, Class and Protocol in Swift

iOS CI&CD tips pt 1

User Location With Core LocationUI in Xcode 13