تدفق التوتر:: العمليات:: يتراوح

#include <math_ops.h>

يخلق سلسلة من الأرقام.

ملخص

تقوم هذه العملية بإنشاء تسلسل من الأرقام يبدأ من start ويمتد بزيادات delta حتى الحد ولكن لا limit .

على سبيل المثال:

# 'start' is 3
# 'limit' is 18
# 'delta' is 3
tf.range(start, limit, delta) ==> [3, 6, 9, 12, 15]

الحجج:

  • النطاق: كائن النطاق
  • البداية: 0-D (العددية). الإدخال الأول في التسلسل.
  • الحد: 0-D (عددي). الحد الأعلى للتسلسل، حصريًا.
  • دلتا: 0-D (العددية). خياري. الافتراضي هو 1. الرقم الذي start بالزيادات.

عائدات:

البنائين والمدمرين

Range (const :: tensorflow::Scope & scope, :: tensorflow::Input start, :: tensorflow::Input limit, :: tensorflow::Input delta)

الصفات العامة

operation
output

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

الصفات العامة

عملية

Operation operation

انتاج

::tensorflow::Output output

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

يتراوح

 Range(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input start,
  ::tensorflow::Input limit,
  ::tensorflow::Input delta
)

العقدة

::tensorflow::Node * node() const 

المشغل::tensorflow::الإدخال

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const