Struct tensorflow::ops::DataFormatDimMap
source · pub struct DataFormatDimMap { /* private fields */ }
Expand description
Builder for the DataFormatDimMap
operation.
Implementations§
source§impl DataFormatDimMap
impl DataFormatDimMap
sourcepub fn src_format<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn src_format<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the src_format
attribute.
sourcepub fn dst_format<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn dst_format<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the dst_format
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>>(
&self,
x: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, x: O0, scope: &mut Scope ) -> Result<Operation>
Builds the DataFormatDimMap
operation.
sourcepub fn build_instance(
&self,
x: Output,
scope: &mut Scope
) -> Result<DataFormatDimMapInst>
pub fn build_instance( &self, x: Output, scope: &mut Scope ) -> Result<DataFormatDimMapInst>
Builds a new instance of ‘DataFormatDimMap’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for DataFormatDimMap
impl Debug for DataFormatDimMap
source§impl Default for DataFormatDimMap
impl Default for DataFormatDimMap
source§fn default() -> DataFormatDimMap
fn default() -> DataFormatDimMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DataFormatDimMap
impl Send for DataFormatDimMap
impl Sync for DataFormatDimMap
impl Unpin for DataFormatDimMap
impl UnwindSafe for DataFormatDimMap
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