تدفق التوتر:: العمليات:: EncodeBase64

#include <string_ops.h>

تشفير السلاسل إلى تنسيق base64 الآمن على الويب.

ملخص

راجع المقالة التالية لمزيد من المعلومات حول تنسيق base64: en.wikipedia.org/wiki/Base64. قد تحتوي سلاسل Base64 على حشوة بـ "=" في النهاية بحيث يكون طول التشفير مضاعفًا لـ 4. راجع قسم الحشو في الرابط أعلاه.

"الويب الآمن" يعني أن برنامج التشفير يستخدم - و _ بدلاً من + و /.

الحجج:

  • النطاق: كائن النطاق
  • الإدخال: السلاسل المراد تشفيرها.

السمات الاختيارية (انظر Attrs ):

  • لوحة: منطقية ما إذا كان يتم تطبيق الحشو في النهايات.

عائدات:

البنائين والمدمرين

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
)