Struct tensorflow::eager::raw_ops::MaxPoolWithArgmax
source · pub struct MaxPoolWithArgmax { /* private fields */ }
Expand description
MaxPoolWithArgmax
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/MaxPoolWithArgmax
Implementations§
source§impl MaxPoolWithArgmax
impl MaxPoolWithArgmax
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 Targmax<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Targmax<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Targmax
attribute.
sourcepub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the padding
attribute.
sourcepub fn include_batch_in_index<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn include_batch_in_index<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the include_batch_in_index
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,
input: &T0
) -> Result<[TensorHandle<'a>; 2]>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0 ) -> Result<[TensorHandle<'a>; 2]>
Execute max_pool_with_argmax.
Trait Implementations§
source§impl Clone for MaxPoolWithArgmax
impl Clone for MaxPoolWithArgmax
source§fn clone(&self) -> MaxPoolWithArgmax
fn clone(&self) -> MaxPoolWithArgmax
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaxPoolWithArgmax
impl Debug for MaxPoolWithArgmax
Auto Trait Implementations§
impl RefUnwindSafe for MaxPoolWithArgmax
impl Send for MaxPoolWithArgmax
impl Sync for MaxPoolWithArgmax
impl Unpin for MaxPoolWithArgmax
impl UnwindSafe for MaxPoolWithArgmax
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