天天看點

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)

繼續閱讀