Upper

public final class Upper

Converts all lowercase characters into their respective uppercase replacements.

Example:

>>> tf.strings.upper("CamelCase string and ALL CAPS")

Nested Classes

class Upper.Options Optional attributes for Upper  

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output<TString>
asOutput()
Returns the symbolic handle of the tensor.
static Upper
create(Scope scope, Operand<TString> input, Options... options)
Factory method to create a class wrapping a new Upper operation.
static Upper.Options
encoding(String encoding)
Output<TString>
output()

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "StringUpper"

Public Methods

public Output<TString> asOutput ()

Returns the symbolic handle of the tensor.

Inputs 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.

public static Upper create (Scope scope, Operand<TString> input, Options... options)

Factory method to create a class wrapping a new Upper operation.

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of Upper

public static Upper.Options encoding (String encoding)

public Output<TString> output ()