テンソルフロー::作戦::文字列の長さ
#include <string_ops.h> inputの文字列の長さ。
まとめ
入力テンソルで指定された各文字列の長さを計算します。
引数:
- スコープ:スコープオブジェクト
- input: 長さを計算する文字列。
オプションの属性 ( Attrsを参照):
- 単位: 文字列の長さを計算するためにカウントされる単位。 "BYTE"(各文字列のバイト数) または"UTF8_CHAR"(各文字列内の UTF-8 でエンコードされた Unicode コード ポイントの数) のいずれか。unit=UTF8_CHARで、input文字列に構造的に有効な UTF-8 が含まれていない場合、結果は未定義です。
戻り値:
-  Output:inputと同じ形状を持つ整数テンソル。出力には、inputの要素ごとの文字列長が含まれます。
| コンストラクターとデストラクター | |
|---|---|
| StringLength (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
| StringLength (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const StringLength::Attrs & attrs) | 
| パブリック属性 | |
|---|---|
| operation | |
| output | |
| 公共機能 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| パブリック静的関数 | |
|---|---|
| Unit (StringPiece x) | |
| 構造体 | |
|---|---|
| tensorflow:: ops:: StringLength:: Attrs | StringLengthのオプションの属性セッター。 | 
パブリック属性
手術
Operation operation
出力
::tensorflow::Output output
公共機能
文字列の長さ
StringLength( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
文字列の長さ
StringLength( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const StringLength::Attrs & attrs )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
ユニット
Attrs Unit( StringPiece x )