Struct tensorflow::eager::raw_ops::StaticRegexReplace
source · pub struct StaticRegexReplace { /* private fields */ }
Expand description
StaticRegexReplace
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/StaticRegexReplace
Implementations§
source§impl StaticRegexReplace
impl StaticRegexReplace
sourcepub fn pattern<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn pattern<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the pattern
attribute.
sourcepub fn rewrite<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn rewrite<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the rewrite
attribute.
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0 ) -> Result<TensorHandle<'a>>
Execute static_regex_replace.
Trait Implementations§
source§impl Clone for StaticRegexReplace
impl Clone for StaticRegexReplace
source§fn clone(&self) -> StaticRegexReplace
fn clone(&self) -> StaticRegexReplace
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StaticRegexReplace
impl Debug for StaticRegexReplace
Auto Trait Implementations§
impl RefUnwindSafe for StaticRegexReplace
impl Send for StaticRegexReplace
impl Sync for StaticRegexReplace
impl Unpin for StaticRegexReplace
impl UnwindSafe for StaticRegexReplace
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