rust
rust copied to clipboard
Rust language bindings for TensorFlow
Not usually necessary for Rust, but since we're doing a lot of unsafe stuff with pointers, we should have a valgrind test. Ideally, Travis would run it and fail the...
The runtime bindings have no use for the the build-dependencies of tensorflow-sys, nor the build.rs. So to avoid pulling in those dependencies, and hopefully to keep things cleaner, I'd like...
Hi I tried to make a new binary package in which I will have just the code from the [example](https://github.com/tensorflow/rust/blob/master/examples/mobilenetv3.rs). I made the package with `cargo new test_tf --bin `and...
Hi, I can see this issue (https://github.com/tensorflow/rust/issues/378) is still open, so here is my PR.
Im compiling using 'cargo build' with '--target=aarch64-unknown-linux-gnu', and the compilation fails as it doesn't detect bazel. I have installed bazel and added it to path on windows. As the script...
Although [`TF_LoadPluggableDeviceLibrary`](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/c/c_api_experimental.cc#L725) is an experimental API, it is necessary to use GPU on platform like Mac Arm. I tried to include this API in code generating but it caused other...
Thanks a lot for maintaining Rust bindings! I have built a very simple actor critic algorithm in Rust, and it works like a charm. However, how can I emit events...
Migrate from random crate to rand #378
A few examples use the `random` crate and should be using `rand` instead.
### The source of unsoundness Hi, we found an unsound implementation in `unpack` which could create a misaligned pointer: https://github.com/tensorflow/rust/blob/62a3019cfa0720c9744b4bd5f97db953bf4066cf/src/lib.rs#L900-L903 At line 902, the `u8` pointer would cast to `TF_TString`...