rust
rust copied to clipboard
Rust language bindings for TensorFlow
tensor_array_concat_v3 doesnt build dtype attribute. I get: thread 'layers::test_concat_split' panicked at 'called `Result::unwrap()` on an `Err` value: {inner:0x2392837d900, InvalidArgument: NodeDef missing attr 'dtype' from Op value:dtype, lengths:int64; attr=dtype:type; attr=element_shape_except0:shape,default=; is_stateful=true>;...
I cannot construct a split operation. when given the appropriate types in ops::split() the attribute num_split does not get assigned. I'd reference the line but the file is too large...
I will be referencing the following documentation: https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-write as well as the following source code: src/graph.rs @ line 1195 function get_attr_metadata and the following get_attr_* src/ops/ops_impl @ line 123054...
As showed in this [PR](https://github.com/rust-lang/pkg-config-rs/pull/105) the crate [pkg-config](https://github.com/tensorflow/rust/blob/master/tensorflow-sys/Cargo.toml#L27) ignores the env vars, pls help to upgrade it to the latest fixed release `0.3.24`. Tested at my local, after upgrade, i...
ERROR: The project you're trying to build requires Bazel 3.7.2 (specified in /Users/andrey/.cargo/registry/src/github.com-1ecc6299db9ec823/tensorflow-sys-0.20.0/target/source-v2.5.0/.bazelversion), but it wasn't found in /opt/homebrew/Cellar/bazel/4.2.2/libexec/bin. Needs bazel 3.7.2. Which is not available for M1 Macs. Versions...
I am trying to load a saved model folder, but, with no other information, the following error is raised: ``` undefined symbol: TF_StringGetDataPointer, version VERS_1.0 ``` I am using the...
## Issue Build from source in macOS (Intel CPU) fails due to name mismatch. The panic from tensorflow-sys crate occurred just after the following log message (see full log message...
The Cargo.toml has the correct dependencies, however [crates.io](https://crates.io/crates/tensorflow-internal-macros/0.0.1/dependencies) appears to have not been updated. If I use tensorflow-internal-macros = "0.0.1" in my project, it imports proc-macro2 v0.4.30, quote v0.6.13, syn...
With TF2 python [tf.saved_model.load(export_dir, tags=None, options=None)](https://github.com/tensorflow/tensorflow/blob/7c2964c6f7961ecb79fbf054935868de7108c6f7/tensorflow/python/saved_model/load.py#L849) API, i can load the saved_model as a collection of concrete functions, then i call them like `conc_func(**input_tensors)` according to different signatures, how can...
When I run tests in the master branch, the following two tests will always panic when executed with the `tensorflow_gpu` feature. I'll look into the cause when I have time....