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