rust icon indicating copy to clipboard operation
rust copied to clipboard

Convenience API for specifying the session options

Open nagisa opened this issue 4 years ago • 0 comments

Currently in order to pass tensorflow session options you need to pass in a encoded protobuf of ConfigProto to the SessionOptions::set_config API.

While matching the API of e.g. Java bindings, this is also somewhat inconvenient, as the user is responsible for pulling in the ConfigProto schema into their own codebase and encoding the configuration they desire to use.

Having a (potentially as an optionally compiled feature) API to transparently encode and pass in the structure would be great.

nagisa avatar Jun 11 '20 15:06 nagisa