aliran tensor:: operasi:: Persegi
#include <math_ops.h>
Menghitung kuadrat dari x berdasarkan elemen.
Ringkasan
Yaitu, \(y = x * x = x^2\).
Argumen:
- ruang lingkup: Objek Lingkup
Pengembalian:
-
Output
: Tensor y.
Konstruktor dan Destruktor | |
---|---|
Square (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Atribut publik | |
---|---|
operation | |
y |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atribut publik
operasi
Operation operation
kamu
::tensorflow::Output y
Fungsi publik
Persegi
Square( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const