@wholebuzz/search / Exports / record
▸ createBinaryRecordReader(fileSystem: FileSystem, url: string): Promise<RecordReader>
Creates a .tfrecord file reader using arbitrary buffers instead of protobuf.
| Name | Type | Description |
|---|---|---|
fileSystem |
FileSystem | - |
url |
string | The URL of the file.tfbinary to read records from. |
Returns: Promise<RecordReader>
Defined in: src/record.ts:12
▸ createBinaryRecordWriter(fileSystem: FileSystem, url: string): Promise<RecordWriter>
Creates a .tfrecord file writer using arbitrary buffers instead of protobuf.
| Name | Type | Description |
|---|---|---|
fileSystem |
FileSystem | - |
url |
string | The URL of the file.tfbinary to read records from. |
Returns: Promise<RecordWriter>
Defined in: src/record.ts:20