Struct tensorflow::ops::RiscConv
source · pub struct RiscConv { /* private fields */ }
Expand description
Builder for the RiscConv
operation.
Implementations§
source§impl RiscConv
impl RiscConv
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 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 RiscConv
operation.
sourcepub fn build_instance(
&self,
input: Output,
filter: Output,
scope: &mut Scope
) -> Result<RiscConvInst>
pub fn build_instance( &self, input: Output, filter: Output, scope: &mut Scope ) -> Result<RiscConvInst>
Builds a new instance of ‘RiscConv’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RiscConv
impl Send for RiscConv
impl Sync for RiscConv
impl Unpin for RiscConv
impl UnwindSafe for RiscConv
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