Struct tensorflow::ops::DepthwiseConv2dNative
source · pub struct DepthwiseConv2dNative { /* private fields */ }
Expand description
Builder for the DepthwiseConv2dNative
operation.
Implementations§
source§impl DepthwiseConv2dNative
impl DepthwiseConv2dNative
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 explicit_paddings<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn explicit_paddings<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the explicit_paddings
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 dilations<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn dilations<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the dilations
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 DepthwiseConv2dNative
operation.
sourcepub fn build_instance(
&self,
input: Output,
filter: Output,
scope: &mut Scope
) -> Result<DepthwiseConv2dNativeInst>
pub fn build_instance( &self, input: Output, filter: Output, scope: &mut Scope ) -> Result<DepthwiseConv2dNativeInst>
Builds a new instance of ‘DepthwiseConv2dNative’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for DepthwiseConv2dNative
impl Debug for DepthwiseConv2dNative
source§impl Default for DepthwiseConv2dNative
impl Default for DepthwiseConv2dNative
source§fn default() -> DepthwiseConv2dNative
fn default() -> DepthwiseConv2dNative
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DepthwiseConv2dNative
impl Send for DepthwiseConv2dNative
impl Sync for DepthwiseConv2dNative
impl Unpin for DepthwiseConv2dNative
impl UnwindSafe for DepthwiseConv2dNative
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