| Modifier and Type | Class and Description |
|---|---|
static class |
RegexReplace.Options
Optional attributes for
RegexReplace |
operation| Modifier and Type | Method and Description |
|---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
static RegexReplace |
create(Scope scope,
Operand<String> input,
Operand<String> pattern,
Operand<String> rewrite,
RegexReplace.Options... options)
Factory method to create a class to wrap a new RegexReplace operation to the graph.
|
Output<String> |
output()
The text after applying pattern and rewrite.
|
static RegexReplace.Options |
replaceGlobal(Boolean replaceGlobal) |
equals, hashCode, toStringpublic static RegexReplace create(Scope scope, Operand<String> input, Operand<String> pattern, Operand<String> rewrite, RegexReplace.Options... options)
scope - current graph scopeinput - The text to be processed.pattern - The regular expression to match the input.rewrite - The rewrite to be applied to the matched expresion.options - carries optional attributes valuespublic static RegexReplace.Options replaceGlobal(Boolean replaceGlobal)
replaceGlobal - If True, the replacement is global, otherwise the replacement
is done only on the first match.public Output<String> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<String>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.