Struct tensorflow::ops::Dilation2D
source · [−]pub struct Dilation2D { /* private fields */ }
Expand description
Builder for the Dilation2D
operation.
Implementations
sourceimpl 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 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>>(
&self,
input: O0,
filter: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
input: O0,
filter: O1,
scope: &mut Scope
) -> Result<Operation>
Builds the Dilation2D
operation.
sourcepub fn build_instance(
&self,
input: Output,
filter: Output,
scope: &mut Scope
) -> Result<Dilation2DInst>
pub fn build_instance(
&self,
input: Output,
filter: Output,
scope: &mut Scope
) -> Result<Dilation2DInst>
Builds a new instance of ‘Dilation2D’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for Dilation2D
impl Debug for Dilation2D
sourceimpl Default for Dilation2D
impl Default for Dilation2D
sourcefn default() -> Dilation2D
fn default() -> Dilation2D
Returns the “default value” for a type. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more