Tensorflow :: ops :: EncodeBase64
#include <string_ops.h>
Codieren Sie Zeichenfolgen in das web-sichere base64-Format.
Zusammenfassung
Weitere Informationen zum base64-Format finden Sie im folgenden Artikel: en.wikipedia.org/wiki/Base64. Base64-Zeichenfolgen können am Ende mit '=' aufgefüllt werden, sodass die codierte Zeichenfolge ein Längenmultiplikator von 4 hat. Siehe Abschnitt Auffüllen des obigen Links.
Web-sicher bedeutet, dass der Encoder - und _ anstelle von + und / verwendet.
Argumente:
- scope: Ein Scope- Objekt
- Eingabe: Zu codierende Zeichenfolgen.
Optionale Attribute (siehe Attrs
):
- pad: Bool, ob an den Enden Polsterung angewendet wird.
Kehrt zurück:
-
Output
: Eingabezeichenfolgen in Base64 - kodiert.
Konstruktoren und Destruktoren | |
---|---|
EncodeBase64 (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
EncodeBase64 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const EncodeBase64::Attrs & attrs) |
Öffentliche Attribute | |
---|---|
operation | |
output |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
Pad (bool x) |
Strukturen | |
---|---|
tensorflow :: ops :: EncodeBase64 :: Attrs | Optionale Attributsetzer für EncodeBase64 . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
EncodeBase64
EncodeBase64( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
EncodeBase64
EncodeBase64( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const EncodeBase64::Attrs & attrs )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
Pad
Attrs Pad( bool x )