Struct tensorflow::ops::MapDefun
source · pub struct MapDefun { /* private fields */ }
Expand description
Builder for the MapDefun
operation.
Implementations§
source§impl MapDefun
impl MapDefun
sourcepub fn Targuments<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Targuments<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Targuments
attribute.
sourcepub fn Tcaptured<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Tcaptured<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Tcaptured
attribute.
sourcepub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the output_types
attribute.
sourcepub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
pub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
Sets the output_shapes
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
arguments: O0,
captured_inputs: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, arguments: O0, captured_inputs: O1, scope: &mut Scope ) -> Result<Operation>
Builds the MapDefun
operation.
sourcepub fn build_instance(
&self,
arguments: Output,
captured_inputs: Output,
scope: &mut Scope
) -> Result<MapDefunInst>
pub fn build_instance( &self, arguments: Output, captured_inputs: Output, scope: &mut Scope ) -> Result<MapDefunInst>
Builds a new instance of ‘MapDefun’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MapDefun
impl Send for MapDefun
impl Sync for MapDefun
impl Unpin for MapDefun
impl UnwindSafe for MapDefun
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more