tensorflow:: لیست ورودی
#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
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2026-11-05 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2026-11-05 بهوقت ساعت هماهنگ جهانی."],[],[]]