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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapDefun
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