tensorflow:: ops:: 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

y

::tensorflow::Output y

الوظائف العامة

OnesLike

 OnesLike(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const