tfrecord

package
v0.0.0-...-f32be47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2019 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package tfrecords provides facilities for reading and writing TFRecords files. A TFRecords file represents a sequence of (binary) strings. The format is not random access, so it is suitable for streaming large amounts of data but not suitable if fast sharding or other non-sequential access is desired. For more information, please refer to https://www.tensorflow.org/versions/master/api_docs/python/python_io.html#tfrecords-format-details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(r io.Reader) (data []byte, err error)

Read reads one record from r.

func Write

func Write(w io.Writer, data []byte) error

Write writes the provided data as a record to w.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL