Struct tensorflow::ops::RiscPool
source · pub struct RiscPool { /* private fields */ }
Expand description
Builder for the RiscPool
operation.
Implementations§
source§impl RiscPool
impl RiscPool
sourcepub fn strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the strides
attribute.
sourcepub fn pooling_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn pooling_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the pooling_type
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,
value: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, value: O0, scope: &mut Scope ) -> Result<Operation>
Builds the RiscPool
operation.
sourcepub fn build_instance(
&self,
value: Output,
scope: &mut Scope
) -> Result<RiscPoolInst>
pub fn build_instance( &self, value: Output, scope: &mut Scope ) -> Result<RiscPoolInst>
Builds a new instance of ‘RiscPool’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RiscPool
impl Send for RiscPool
impl Sync for RiscPool
impl Unpin for RiscPool
impl UnwindSafe for RiscPool
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