نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: يقذف

#include <math_ops.h>

إرسال x من النوع SrcT إلى y من DstT.

ملخص

الحجج:

عائدات:

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

Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT)
Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT, const Cast::Attrs & attrs)

السمات العامة

operation
y

الوظائف العامة

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

وظائف ثابتة عامة

Truncate (bool x)

الهياكل

tensorflow :: العمليات :: Cast :: Attrs

محددات السمات الاختيارية لـ Cast .

السمات العامة

عملية

Operation operation

ذ

::tensorflow::Output y

الوظائف العامة

يقذف

 Cast(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  DataType DstT
)

يقذف

 Cast(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  DataType DstT,
  const Cast::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

المشغل :: tensorflow :: الإدخال

 operator::tensorflow::Input() const 

المشغل :: Tensorflow :: Output

 operator::tensorflow::Output() const 

وظائف ثابتة عامة

اقتطاع

Attrs Truncate(
  bool x
)