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