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