tensorflow:: אופס:: ללהק

#include <math_ops.h>

העבר x מסוג SrcT ל-y של DstT.

סיכום

טיעונים:

  • scope: אובייקט Scope

החזרות:

בנאים והורסים

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:: שחקנים:: Attrs

קובעי תכונות אופציונליים עבור Cast .

תכונות ציבוריות

מבצע

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 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

קטוע

Attrs Truncate(
  bool x
)