tensorflow :: ops :: قالب

#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
)