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