جریان تنسور:: 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
InputList( const OutputList & out )
به طور ضمنی لیستی از خروجی ها را به لیستی از ورودی ها تبدیل کنید.
این برای نوشتن کدهایی مانند ops::Concat(ops::Split(x, 4)) مفید است.
InputList
InputList( const std::initializer_list< Input > & inputs )
InputList
InputList( const tensorflow::gtl::ArraySlice< Input > & inputs )
InputList
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 و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2022-08-30 بهوقت ساعت هماهنگ جهانی.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]