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