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