זרימת טנסור :: מבצע
#include <ops.h>
מייצג צומת בגרף החישוב.
סיכום
קונסטרוקטורים ומשחתנים | |
---|---|
Operation () | |
Operation (Node *n) |
פונקציות ציבוריות | |
---|---|
hash (int32 index) const | uint64 |
input (int32 i) const | |
input_type (int32 o) const | DataType |
node () const | Node * |
num_inputs () const | int32 |
num_outputs () const | int32 |
operator== (const Operation & other) const | bool |
output (int32 i) const | |
output_type (int32 o) const | DataType |
פונקציות ציבוריות
מבצע
Operation()
מבצע
Operation( Node *n )
בְּלִיל
uint64 hash( int32 index ) const
קֶלֶט
Output input( int32 i ) const
סוג קלט
DataType input_type( int32 o ) const
צוֹמֶת
Node * node() const
מספר_כניסות
int32 num_inputs() const
מספר_פלטים
int32 num_outputs() const
מפעיל ==
bool operator==( const Operation & other ) const
תְפוּקָה
Output output( int32 i ) const
output_type
DataType output_type( int32 o ) const
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2020-06-29 (שעון UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"חסרים לי מידע או פרטים"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"התוכן מורכב מדי או עם יותר מדי שלבים"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"התוכן לא עדכני"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"בעיה בתרגום"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"בעיה בדוגמאות/בקוד"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"סיבה אחרת"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"התוכן קל להבנה"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"התוכן עזר לי לפתור בעיה"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"סיבה אחרת"
}]