Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 016b028

Browse files
committed
Added check to __init__.py
1 parent 8eaadf3 commit 016b028

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ tfrecorder create-tfrecords \
6969

7070
Using Python interpreter:
7171
```python
72-
from tfrecorder import check
72+
import tfrecorder
7373

74-
check.check_tfrecords(
74+
tfrecorder.check_tfrecords(
7575
file_pattern='/path/to/tfrecords/train*.tfrecord.gz',
7676
num_records=5,
7777
output_dir='/tmp/output')

tfrecorder/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
"""Imports."""
1818
from tfrecorder import accessor
1919
from tfrecorder import client
20+
from tfrecorder import check

0 commit comments

Comments
 (0)