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

#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:: ops:: 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::الإخراج

 operator::tensorflow::Output() const 

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

اقتطاع

Attrs Truncate(
  bool x
)