tensorflow:: ops:: UnicodeScript
#include <string_ops.h>
Determine the script codes of a given tensor of Unicode integer code points.
Summary
This operation converts Unicode code points to script codes corresponding to each code point. Script codes correspond to International Components for Unicode (ICU) UScriptCode values. See http://icu-project.org/apiref/icu4c/uscript_8h.html. Returns -1 (USCRIPT_INVALID_CODE) for invalid codepoints. Output shape will match input shape.
Arguments:
Returns:
Constructors and Destructors |
|
---|---|
UnicodeScript(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
|
Public attributes |
|
---|---|
operation
|
|
output
|
Public functions |
|
---|---|
node() const
|
::tensorflow::Node *
|
operator::tensorflow::Input() const
|
|
operator::tensorflow::Output() const
|
|
Public attributes
operation
Operation operation
output
::tensorflow::Output output
Public functions
UnicodeScript
UnicodeScript( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const