tensorflow:: אופס:: RecordInput
#include <data_flow_ops.h>
פולט רשומות אקראיות.
סיכום
טיעונים:
- scope: אובייקט Scope
- file_pattern: תבנית גלוב עבור קבצי הנתונים.
מאפיינים אופציונליים (ראה Attrs
):
- file_random_seed: זרעים אקראיים המשמשים לייצור רשומות אקראיות.
- file_shuffle_shift_ratio: מעביר את רשימת הקבצים לאחר ערבוב אקראי של הרשימה.
- file_buffer_size: מאגר ערבוב האקראיות.
- file_parallelism: כמה sstables נפתחות ובמקביל חוזרות עליהן.
- batch_size: גודל האצווה.
- compression_type: סוג הדחיסה עבור הקובץ. נכון לעכשיו, ZLIB ו-GZIP נתמכים. ברירת מחדל לאף אחת.
החזרות:
-
Output
: טנזור של צורה [גודל_אצווה].
בנאים והורסים | |
---|---|
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:: ops:: RecordInput:: Attrs | קובעי תכונות אופציונליים עבור RecordInput . |
תכונות ציבוריות
מבצע
Operation operation
רשומות
::tensorflow::Output records
תפקידים ציבוריים
RecordInput
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern )
RecordInput
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
גודל אצווה
Attrs BatchSize( int64 x )
CompressionType
Attrs CompressionType( StringPiece x )
FileBufferSize
Attrs FileBufferSize( int64 x )
מקביליות של קבצים
Attrs FileParallelism( int64 x )
FileRandomSeed
Attrs FileRandomSeed( int64 x )
FileShuffleShiftRatio
Attrs FileShuffleShiftRatio( float x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[{
"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":"סיבה אחרת"
}]