X Tutup
Skip to content

Roadmap of node-tensorflow #15

@bryanerayner

Description

@bryanerayner

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 numpy in 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup