tensorflow:: ops:: Cast
#include <math_ops.h>قم بتحويل x من النوع SrcT إلى y من النوع DstT.
ملخص
الحجج:
- النطاق: كائن النطاق
المرتجعات:
-
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) |
السمات العامة | |
|---|---|
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 )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2026-11-05 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2026-11-05 (حسب التوقيت العالمي المتفَّق عليه)"],[],[]]