تدفق التوتر:: العمليات:: OnesLike
#include <array_ops.h>
إرجاع موتر من نفس الشكل والنوع مثل x.
ملخص
الحجج:
- النطاق: كائن النطاق
- x: موتر من النوع T.
العوائد:
-
Output
: موتر من نفس الشكل والنوع مثل x ولكنه مملوء بالآحاد.
البنائين والمدمرين | |
---|---|
OnesLike (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
الصفات العامة | |
---|---|
operation | |
y |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
الصفات العامة
عملية
Operation operation
ذ
::tensorflow::Output y
الوظائف العامة
OnesLike
OnesLike( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const