تدفق التوتر:: العمليات:: ملف القراءة
#include <io_ops.h>
يقرأ ويخرج محتويات اسم ملف الإدخال بالكامل.
ملخص
الحجج:
- النطاق: كائن النطاق
العوائد:
-
Output
: موتر المحتويات.
البنائين والمدمرين | |
---|---|
ReadFile (const :: tensorflow::Scope & scope, :: tensorflow::Input filename) |
الصفات العامة | |
---|---|
contents | |
operation |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
الصفات العامة
محتويات
::tensorflow::Output contents
عملية
Operation operation
الوظائف العامة
ملف القراءة
ReadFile( const ::tensorflow::Scope & scope, ::tensorflow::Input filename )
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# tensorflow::ops::ReadFile Class Reference\n\ntensorflow::ops::ReadFile\n=========================\n\n`#include \u003cio_ops.h\u003e`\n\nReads and outputs the entire contents of the input filename.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The contents tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ReadFile](#classtensorflow_1_1ops_1_1_read_file_1aea66c390cb0cf3d508da628229b1c188)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` filename)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [contents](#classtensorflow_1_1ops_1_1_read_file_1a620eb4e56b7754eb0b3e9e74fea85f14) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_read_file_1adbb57ce5090cf5fcf13223912fd75401) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_read_file_1a2d9844685a0cf777facc7a04aa8cd2e7)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_read_file_1a8e4b60074f25b6e8a7f68241ae52e8f2)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_read_file_1ab581736a842757b578071443c884931b)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### contents\n\n```text\n::tensorflow::Output contents\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### ReadFile\n\n```gdscript\n ReadFile(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input filename\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]