צובר הדדית מספר טנסורים מסוג וצורה זהים.
`is_stateless` פירושו שכל אופציה אינה זקוקה לתלות בקרה לאופציות קולקטיביות אחרות. במקרה זה, יש להשתמש במפתחות שהם ייחודיים בזמן ריצה (למשל `instance_key`) כדי להבחין בין קבוצות קולקטיביות.
כיתות מקוננות
מעמד | CollectiveGatherV2.Options | תכונות אופציונליות עבור CollectiveGatherV2 |
שיטות ציבוריות
פלט <T> | asOutput () מחזירה את הידית הסמלית של טנזור. |
סטטי CollectiveGatherV2.Options | communicationHint (מחרוזת תקשורת רמז) |
סטטי <T מרחיב מספר> CollectiveGatherV2 <T> | |
פלט <T> | נתונים () |
סטטי CollectiveGatherV2.Options | isStateless (Boolian isStateless) |
סטטי CollectiveGatherV2.Options | timeoutSeconds (Foat timeoutSeconds) |
שיטות בירושה
שיטות ציבוריות
פלט ציבורי <T> asOutput ()
מחזירה את הידית הסמלית של טנזור.
כניסות לפעולות TensorFlow הן יציאות של פעולת TensorFlow אחרת. שיטה זו משמשת להשגת ידית סמלית המייצגת את חישוב הקלט.
public static CollectiveGatherV2 <T> create ( scope scope, Operand <T> input, Operand <Integer> groupSize, Operand <Integer> groupKey, Operand <Integer> instanceKey, Iterable< Operand <?>> orderingToken, Options... options)
שיטת מפעל ליצירת מחלקה העוטפת פעולת CollectiveGatherV2 חדשה.
פרמטרים
תְחוּם | ההיקף הנוכחי |
---|---|
אפשרויות | נושא ערכי תכונות אופציונליות |
החזרות
- מופע חדש של CollectiveGatherV2