تينسورفلو :: العمليات :: حقيقي
#include <math_ops.h>
إرجاع الجزء الحقيقي من رقم مركب.
ملخص
بالنظر إلى input
موتر للأرقام المركبة ، فإن هذه العملية ترجع موترًا من نوع float
يمثل الجزء الحقيقي من كل عنصر في input
. يجب أن تكون جميع العناصر في input
أرقامًا معقدة بالشكل \(a + bj\) ، حيث يمثل a الجزء الحقيقي الذي يتم إرجاعه بواسطة هذه العملية و b هو الجزء التخيلي.
على سبيل المثال:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.real(input) ==> [-2.25, 3.25]
الحجج:
- النطاق: كائن النطاق
عائدات:
-
Output
: موتر الإخراج.
البنائين والمدمرين | |
---|---|
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Real::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
Tout (DataType x) |
الهياكل | |
---|---|
tensorflow :: ops :: Real :: Attrs | محددات الخصائص الاختيارية لـ Real . |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
حقيقي
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
حقيقي
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Real::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
توت
Attrs Tout( DataType x )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]