Struct tensorflow::eager::raw_ops::RiscPool
source · pub struct RiscPool { /* private fields */ }
Expand description
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
value: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, value: &T0 ) -> Result<TensorHandle<'a>>
Execute risc_pool.
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