Struct tensorflow::ops::ExperimentalThreadPoolHandle
source · [−]pub struct ExperimentalThreadPoolHandle { /* private fields */ }
Expand description
Builder for the ExperimentalThreadPoolHandle
operation.
Implementations
sourceimpl ExperimentalThreadPoolHandle
impl ExperimentalThreadPoolHandle
sourcepub fn num_threads<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_threads<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_threads
attribute.
sourcepub fn max_intra_op_parallelism<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn max_intra_op_parallelism<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the max_intra_op_parallelism
attribute.
sourcepub fn display_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn display_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the display_name
attribute.
sourcepub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the container
attribute.
Sets the shared_name
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build(&self, scope: &mut Scope) -> Result<Operation>
pub fn build(&self, scope: &mut Scope) -> Result<Operation>
Builds the ExperimentalThreadPoolHandle
operation.
sourcepub fn build_instance(
&self,
scope: &mut Scope
) -> Result<ExperimentalThreadPoolHandleInst>
pub fn build_instance(
&self,
scope: &mut Scope
) -> Result<ExperimentalThreadPoolHandleInst>
Builds a new instance of ‘ExperimentalThreadPoolHandle’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for ExperimentalThreadPoolHandle
impl Debug for ExperimentalThreadPoolHandle
sourceimpl Default for ExperimentalThreadPoolHandle
impl Default for ExperimentalThreadPoolHandle
sourcefn default() -> ExperimentalThreadPoolHandle
fn default() -> ExperimentalThreadPoolHandle
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ExperimentalThreadPoolHandle
impl Send for ExperimentalThreadPoolHandle
impl Sync for ExperimentalThreadPoolHandle
impl Unpin for ExperimentalThreadPoolHandle
impl UnwindSafe for ExperimentalThreadPoolHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more