Skip to content
New issue

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

Broadcasting #67

Open
ajayjapan opened this issue May 21, 2017 · 1 comment
Open

Broadcasting #67

ajayjapan opened this issue May 21, 2017 · 1 comment

Comments

@ajayjapan
Copy link

When using numpy dividing an matrix by a vector is possible via broadcasting.

Any opinions on implementing broadcasting in Surge? Some thing similar to what numpy does.

https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html

@johndpope
Copy link

Not entirely an answer - but side note - with latest tensorflow - you can import Python + numpy with swift for tensorflow / it's not going to help for ios though.

// Import Python modules
let matplotlib = Python.import("matplotlib")
let np = Python.import("numpy")

https://github.com/tensorflow/swift
https://github.com/tensorflow/swift-models/blob/stable/Autoencoder/Autoencoder.swift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants