Struct tensorflow::ops::StringLength
source · [−]pub struct StringLength { /* private fields */ }
Expand description
Builder for the StringLength
operation.
Implementations
sourceimpl 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
sourceimpl Debug for StringLength
impl Debug for StringLength
sourceimpl Default for StringLength
impl Default for StringLength
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more