tensorflow:: ops:: Cast

#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

مُعدِّلات السمات الاختيارية لعملية التحويل .

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

عملية

Operation operation

y

::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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

اقتطاع

Attrs Truncate(
  bool x
)