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

Add convenient write interface to SharedTensor #32

Open
MichaelHirn opened this issue Dec 30, 2015 · 0 comments
Open

Add convenient write interface to SharedTensor #32

MichaelHirn opened this issue Dec 30, 2015 · 0 comments
Milestone

Comments

@MichaelHirn
Copy link
Member

For writing to the memory copy of a SharedTensor, we rely on the write_to_memory helper function, explicit synching and other boilerplate. This is bloating the tests and makes adoption quite hard and not fun at all. This got also pointed out at the NN Plugin in this PR.

A simply interface for writing (initial) data to a SharedTensor is missing. I would propose to keep the implementation close to e.g. numpy or torch with well known helpers such as zeros, ones or random, which are quite convenient for a lot of tasks - e.g. ANN/ML related stuff.

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

1 participant