Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Plan #1

Open
7 of 15 tasks
ankane opened this issue Sep 18, 2019 · 8 comments
Open
7 of 15 tasks

Plan #1

ankane opened this issue Sep 18, 2019 · 8 comments

Comments

@ankane
Copy link
Owner

ankane commented Sep 18, 2019

Current status: the C API doesn't yet support gradients for eager tensors, so work is on-hold until it's added. Two alternatives approaches are 1. use the graph (TensorFlow 1.0) API or 2. use the C++ API instead.

Plan

  • Auto-generate ops - use either TF_GetAllOpList or tensorflow/core/ops/ops.pbtxt
    • Generate Tf::RawOps
    • Generate Tf::Math that uses Tf::RawOps
    • Generate Tf methods that uses Tf::Math
  • Numo integration
  • Data::Dataset module
  • Keras Beginner - keras_beginner branch
    • MNIST load data
    • Compile model
    • Fit model
  • Keras Advanced (subclassing) - keras_advanced branch
    • Model module
  • Save and load models - saved_model branch
  • Switch to the unified C API once released

Resources

Maybe (later)

  • Flatten classes
    • Tf::Keras::Models::Sequential -> Tf::Sequential or Tf::SequentialModel
    • Tf::Data::Dataset -> Tf::Dataset
    • etc
@ankane ankane changed the title Ideas Plan Sep 18, 2019
This was referenced Oct 14, 2019
@sp00ck
Copy link

sp00ck commented Oct 17, 2019

In future You planing using tensorflow lite? Meybe with compiling tensorflow lite directly in gem? or only convert https://www.tensorflow.org/lite/microcontrollers/build_convert

@eggie5
Copy link

eggie5 commented Jun 20, 2021

doesn't the TF python API use swig? Maybe that'd be a better way to do the ruby port?

@ghost
Copy link

ghost commented Oct 18, 2021

* Guide for language bindings

This link is broken. Would you mind having a look here?

@ankane
Copy link
Owner Author

ankane commented Oct 29, 2021

@sp00ck (sorry for the long delay) There aren't any plans to support TensorFlow Lite.

@eggie5 From what I can tell, it uses the C++ API (but not SWIG). This is probably the quickest path forward, but requires a complete rewrite. Someone is welcome to try this.

@Ashvith Let me know if you find the updated link.

@ghost
Copy link

ghost commented Oct 29, 2021

@ankane I believe it must be this.

@ankane
Copy link
Owner Author

ankane commented Oct 29, 2021

Great, updated.

@sp00ck
Copy link

sp00ck commented Nov 13, 2021

@ankane meybe, I can't check. Not working on my hardware x86 with Fedora

@simonstearn1
Copy link

Any plans to support the Tensorboard utils ?

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

No branches or pull requests

4 participants