From 77e75e1c4c2f868deb1f78c3c996ba4450e762c4 Mon Sep 17 00:00:00 2001 From: liaogang Date: Wed, 8 Mar 2017 14:24:41 +0800 Subject: [PATCH] pre-commit scripts to auto-format code --- understand_sentiment/index.en.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/understand_sentiment/index.en.html b/understand_sentiment/index.en.html index cef0060..c771e4d 100644 --- a/understand_sentiment/index.en.html +++ b/understand_sentiment/index.en.html @@ -356,12 +356,6 @@ train_reader = paddle.batch( test_reader = paddle.batch( lambda: paddle.dataset.imdb.test(word_dict), batch_size=100) - -trainer.train( - reader=train_reader, - event_handler=event_handler, - feeding=feeding, - num_passes=2) ``` `feeding` is devoted to specifying the correspondence between each yield record and `paddle.layer.data`. For instance, the first column of data generated by `paddle.dataset.imdb.train()` corresponds to `word` feature. -- GitLab