[−][src]Struct tensorflow_proto::tensorflow::config_proto::Experimental
Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.
Fields
collective_group_leader: String
Task name for group resolution.
executor_type: String
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
recv_buf_max_chunk: i32
Guidance to formatting of large RecvBuf fields for transfer. Any positive value sets the max chunk size. 0 defaults to 4096. Any negative value indicates no max, i.e. one chunk only.
use_numa_affinity: bool
If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. One consequence will be the existence of as many CPU devices as there are available NUMA nodes.
collective_deterministic_sequential_execution: bool
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
collective_nccl: bool
If true, use NCCL for CollectiveOps. This feature is highly experimental.
In the following, session state means the value of a variable, elements in a hash table, or any other resource, accessible by worker sessions held by a TF server.
When ClusterSpec propagation is enabled, the value of isolate_session_state is ignored when deciding whether to share session states in a TF server (for backwards compatibility reasons).
- If share_session_state_in_clusterspec_propagation is true, the session states are shared.
- If share_session_state_in_clusterspec_propagation is false, session states are isolated.
When clusterspec propagation is not used, the value of share_session_state_in_clusterspec_propagation is ignored when deciding whether to share session states in a TF server.
- If isolate_session_state is true, session states are isolated.
- If isolate_session_state is false, session states are shared.
TODO(b/129330037): Add a single API that consistently treats isolate_session_state and ClusterSpec propagation.
disable_thread_spinning: bool
If using a direct session, disable spinning while waiting for work in the thread pool. This may result in higher latency for completing ops, but in the case where there is a lot of spinning may result in lower CPU usage.
When true, WorkerSessions are created with device attributes from the full cluster. This is helpful when a worker wants to partition a graph (for example during a PartitionedCallOp).
session_metadata: Option<SessionMetadata>
Metadata about the session.
If set, this can be used by the runtime and the Ops for debugging, monitoring, etc.
NOTE: This is currently used and propagated only by the direct session.
optimize_for_static_graph: bool
If true, the session may treat the graph as being static for optimization purposes.
If this option is set to true when a session is created, the full GraphDef must be passed in a single call to Session::Create(), and Session::Extend() may not be supported.
Trait Implementations
impl Clone for Experimental
[src]
pub fn clone(&self) -> Experimental
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Experimental
[src]
impl Default for Experimental
[src]
impl Message for Experimental
[src]
pub fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
pub fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn encoded_len(&self) -> usize
[src]
pub fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<Experimental> for Experimental
[src]
pub fn eq(&self, other: &Experimental) -> bool
[src]
pub fn ne(&self, other: &Experimental) -> bool
[src]
impl StructuralPartialEq for Experimental
[src]
Auto Trait Implementations
impl RefUnwindSafe for Experimental
[src]
impl Send for Experimental
[src]
impl Sync for Experimental
[src]
impl Unpin for Experimental
[src]
impl UnwindSafe for Experimental
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,