rust icon indicating copy to clipboard operation
rust copied to clipboard

Is it possible to use eager evaluation in this binding?

Open solomatov opened this issue 6 years ago • 4 comments

Eager evaluation is much more pleasant to use than computation graph. Is there any way to do so in this binding?

solomatov avatar Jul 20 '18 17:07 solomatov

Sorry I missed your question for so long!

No, this library does not support eager execution, yet. We rely on the TensorFlow C API, and that API does not expose eager execution, yet.

adamcrume avatar Sep 01 '18 18:09 adamcrume

Hi, @adamcrume. I have the same question and Google brings me here.

No, this library does not support eager execution, yet. We rely on the TensorFlow C API, and that API does not expose eager execution, yet.

Is this statement still true now?

Leo-LiHao avatar Sep 30 '21 15:09 Leo-LiHao

Hi, @adamcrume. I have the same question and Google brings me here.

No, this library does not support eager execution, yet. We rely on the TensorFlow C API, and that API does not expose eager execution, yet.

Is this statement still true now?

The eager execution C-API has been exported, and some bindings are using them (such as cppflow). I'm now implementing it in a fork repo, but not sure it could be merged back into here.

ref #321

dskkato avatar Sep 30 '21 17:09 dskkato

The eager evaluation feature can now be tested with the recently released v0.18.0. If you are still interested, please try it out.

dskkato avatar Apr 21 '22 00:04 dskkato