Struct tensorflow::eager::raw_ops::SpaceToDepth
source · pub struct SpaceToDepth { /* private fields */ }
Expand description
SpaceToDepth
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SpaceToDepth
Implementations§
source§impl SpaceToDepth
impl SpaceToDepth
sourcepub fn block_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn block_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the block_size
attribute.
sourcepub fn data_format<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn data_format<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the data_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,
input: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0 ) -> Result<TensorHandle<'a>>
Execute space_to_depth.
Trait Implementations§
source§impl Clone for SpaceToDepth
impl Clone for SpaceToDepth
source§fn clone(&self) -> SpaceToDepth
fn clone(&self) -> SpaceToDepth
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 SpaceToDepth
impl Debug for SpaceToDepth
Auto Trait Implementations§
impl RefUnwindSafe for SpaceToDepth
impl Send for SpaceToDepth
impl Sync for SpaceToDepth
impl Unpin for SpaceToDepth
impl UnwindSafe for SpaceToDepth
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