Struct tensorflow::ops::DepthToSpace
source · [−]pub struct DepthToSpace { /* private fields */ }
Expand description
Builder for the DepthToSpace
operation.
Implementations
sourceimpl 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
sourceimpl Debug for DepthToSpace
impl Debug for DepthToSpace
sourceimpl Default for DepthToSpace
impl Default for DepthToSpace
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more