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