-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
Just getting started looking at this. I was attempting to use TensorFlow earlier, but was severely hampered by the Python-only API. (Translation: I have too much on my plate to learn how to use another web framework in another language, just to play around).
That said - It appears to me that most of the difficulty here, is that the C++ API does not contain the full functionality that the Python API provides, and we might need to duplicate a lot of logic in order to implement the full level of capability in this module.
I am wondering, if this almost is a blessing in disguise, since
- Node is async-first. Python doesn't do things with streams, but Node developers would naturally expect to be able to use them as inputs / outputs with the Tensor graph.
- Javascript has single value returns as of now (Python has a really nice tuple output from its functions, so it's possible that the API won't feel 100% natural no matter how we slice it)
- There's no equivalent of
numpyin the Node world, and Python range comprehension is nothing like what we (don't) have in Javascript.
I think a re-envisioning of the Python API will be necessary to turn this into a truly useful module, so perhaps it shouldn't be avoided.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels