تينسورفلو :: العمليات :: إدخال السجل
#include <data_flow_ops.h>
يصدر سجلات عشوائية.
ملخص
الحجج:
- النطاق: كائن النطاق
- file_pattern: نمط Glob لملفات البيانات.
السمات الاختيارية (انظر Attrs
):
- file_random_seed: بذور عشوائية تستخدم لإنتاج سجلات عشوائية.
- file_shuffle_shift_ratio: يغير قائمة الملفات بعد تبديل القائمة عشوائيًا.
- file_buffer_size: المخزن المؤقت لخلط التوزيع العشوائي.
- file_parallelism: كم عدد الجداول التي يتم فتحها وتكرارها في نفس الوقت.
- حجم_الدفعة: حجم الدُفعة.
- compression_type: نوع ضغط الملف. حاليًا يتم دعم ZLIB و GZIP. الافتراضيات إلى لا شيء.
عائدات:
-
Output
: موتر الشكل [batch_size].
البنائين والمدمرين | |
---|---|
RecordInput (const :: tensorflow::Scope & scope, StringPiece file_pattern) | |
RecordInput (const :: tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
records |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
BatchSize (int64 x) | |
CompressionType (StringPiece x) | |
FileBufferSize (int64 x) | |
FileParallelism (int64 x) | |
FileRandomSeed (int64 x) | |
FileShuffleShiftRatio (float x) |
الهياكل | |
---|---|
tensorflow :: العمليات :: RecordInput :: Attrs | محددات السمات الاختيارية لـ RecordInput . |
السمات العامة
عملية
Operation operation
السجلات
::tensorflow::Output records
الوظائف العامة
إدخال السجل
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern )
إدخال السجل
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
حجم الدفعة
Attrs BatchSize( int64 x )
نوع الضغط
Attrs CompressionType( StringPiece x )
حجم الملف
Attrs FileBufferSize( int64 x )
توازي الملف
Attrs FileParallelism( int64 x )
ملف عشوائي
Attrs FileRandomSeed( int64 x )
FileShuffleShiftRatio
Attrs FileShuffleShiftRatio( float x )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]