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