Skip to content

Commit 125dda0

Browse files
committed
Add tfrecord stub
1 parent 11f076d commit 125dda0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ml_engine/online_prediction/predict_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ def test_predict_json_error():
3434
def test_census_example_to_bytes():
3535
b = census_to_example_bytes(JSON)
3636
assert EXAMPLE_BYTE_STRING == base64.b64encode(b)
37+
38+
def test_predict_tfrecord():
39+
# Using the same model for TFRecords and
40+
# JSON is currently broken.
41+
# TODO(elibixby) when b/35742966 is fixed add
42+
pass

0 commit comments

Comments
 (0)