جریان تنسور:: عملیات:: بازیگران
#include <math_ops.h>
x از نوع SrcT را به y از DstT بریزید .
خلاصه
استدلال ها:
- scope: یک شی Scope
برمی گرداند:
-
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) |
توابع عمومی | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
سازه ها | |
---|---|
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 )