Struct tensorflow::eager::raw_ops::Dilation2D
source · pub struct Dilation2D { /* private fields */ }
Expand description
Dilation2D
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/Dilation2D
Implementations§
source§impl Dilation2D
impl Dilation2D
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 padding<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the padding
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>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input: &T0,
filter: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0, filter: &T1 ) -> Result<TensorHandle<'a>>
Execute dilation2_d.
Trait Implementations§
source§impl Clone for Dilation2D
impl Clone for Dilation2D
source§fn clone(&self) -> Dilation2D
fn clone(&self) -> Dilation2D
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 Dilation2D
impl Debug for Dilation2D
Auto Trait Implementations§
impl RefUnwindSafe for Dilation2D
impl Send for Dilation2D
impl Sync for Dilation2D
impl Unpin for Dilation2D
impl UnwindSafe for Dilation2D
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