Struct tensorflow::eager::raw_ops::DataFormatVecPermute
source · pub struct DataFormatVecPermute { /* private fields */ }
Expand description
DataFormatVecPermute
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DataFormatVecPermute
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
x: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, x: &T0 ) -> Result<TensorHandle<'a>>
Execute data_format_vec_permute.
Trait Implementations§
source§impl Clone for DataFormatVecPermute
impl Clone for DataFormatVecPermute
source§fn clone(&self) -> DataFormatVecPermute
fn clone(&self) -> DataFormatVecPermute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DataFormatVecPermute
impl Debug for DataFormatVecPermute
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