זרימת טנסור :: מבצע
#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
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.
[]
[]