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