tensorflow:: ops:: EncodeBase64
#include <string_ops.h>קידוד מחרוזות לפורמט base64 בטוח לאינטרנט.
תַקצִיר
למידע נוסף על פורמט base64, עיינו במאמר הבא: en.wikipedia.org/wiki/Base64. מחרוזות Base64 עשויות לכלול ריפוד עם '=' בסוף כך שהקידוד יהיה כפולה של 4. ראו את סעיף ריפוד בקישור לעיל.
Web-safe פירושו שהמקודד משתמש ב- ו-_ במקום ב-+ ו-/.
טיעונים:
- היקף: אובייקט היקף
- קלט: מחרוזות שיש לקודד.
מאפיינים אופציונליים (ראה Attrs ):
- pad: ציין האם מיושם ריפוד בקצוות.
החזרות:
בנאים והורסים | |
|---|---|
EncodeBase64 (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
EncodeBase64 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const EncodeBase64::Attrs & attrs) |
מאפיינים ציבוריים | |
|---|---|
operation | |
output | |
תפקידים ציבוריים | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
פונקציות סטטיות ציבוריות | |
|---|---|
Pad (bool x) | |
מבנים | |
|---|---|
| tensorflow:: ops:: EncodeBase64:: Attrs | קובעי מאפיינים אופציונליים עבור EncodeBase64 . |
מאפיינים ציבוריים
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
EncodeBase64
EncodeBase64( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
EncodeBase64
EncodeBase64( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const EncodeBase64::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
אופרטור::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
כָּרִית
Attrs Pad( bool x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]