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