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