天天看点

TensorFlow教程之API DOC 6.1.16 Struct tensorflow::ThreadOptionsStruct tensorflow::ThreadOptions

本文档为tensorflow参考文档,本转载已得到tensorflow中文社区授权。

options to configure a thread .

note that the options are all hints, and the underlying implementation may choose to ignore it.

<a href="http://www.tensorfly.cn/tfdoc/api_docs/cc/structthreadoptions.html#size_t_tensorflow_threadoptions_stack_size"><code>size_t tensorflow::threadoptions::stack_size</code></a>

thread stack size to use (in bytes).

<a href="http://www.tensorfly.cn/tfdoc/api_docs/cc/structthreadoptions.html#size_t_tensorflow_threadoptions_guard_size"><code>size_t tensorflow::threadoptions::guard_size</code></a>

guard area size to use near thread stacks to use (in bytes)

继续阅读