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