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 ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-04 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-04 (שעון UTC)."],[],[]]