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