tensorflow::InputList

#include <ops.h>

نوع لتمثيل المدخلات للعمليات التي تتطلب قائمة من الموترات.

ملخص

البناة والمدمرون

InputList (const OutputList & out)
قم بتحويل قائمة المخرجات ضمنيًا إلى قائمة المدخلات.
InputList (const std::initializer_list< Input > & inputs)
InputList (const tensorflow::gtl::ArraySlice< Input > & inputs)
InputList (const std::initializer_list< Output > & out)

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

begin ()
std::vector< Input >::iterator
begin () const
std::vector< Input >::const_iterator
end ()
std::vector< Input >::iterator
end () const
std::vector< Input >::const_iterator

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

قائمة الإدخال

 InputList(
  const OutputList & out
)

قم بتحويل قائمة المخرجات ضمنيًا إلى قائمة المدخلات.

هذا مفيد لكتابة التعليمات البرمجية مثل ops::Concat(ops::Split(x, 4)).

قائمة الإدخال

 InputList(
  const std::initializer_list< Input > & inputs
)

قائمة الإدخال

 InputList(
  const tensorflow::gtl::ArraySlice< Input > & inputs
)

قائمة الإدخال

 InputList(
  const std::initializer_list< Output > & out
)

يبدأ

std::vector< Input >::iterator begin()

يبدأ

std::vector< Input >::const_iterator begin() const 

نهاية

std::vector< Input >::iterator end()

نهاية

std::vector< Input >::const_iterator end() const