1. 31 3月, 2018 1 次提交
    • H
      Make paddle.fluid no longer depends on paddle.v2 · bcf7c36b
      Helin Wang 提交于
      In this way we can build and test using WITH_FLUID_ONLY flag being set
      to ON.
      
      - move paddle.v2.dataset,reader to paddle.dataset,reader
      - remove unused code (which depends on v2) in paddle.dataset,reader
      bcf7c36b
  2. 19 1月, 2018 1 次提交
  3. 18 7月, 2017 2 次提交
  4. 10 7月, 2017 1 次提交
  5. 28 6月, 2017 1 次提交
  6. 24 5月, 2017 1 次提交
  7. 05 3月, 2017 1 次提交
  8. 04 3月, 2017 1 次提交
    • H
      dataset reader for wmt14 · d6c6a996
      Helin Wang 提交于
      example usage:
      
      import paddle.v2 as paddle
      
      if __name__ == '__main__':
          dict_en, dict_fr =	paddle.dataset.wmt14.build_dict()
          train = paddle.dataset.wmt14.train(dict_en, dict_fr)
          test = paddle.dataset.wmt14.test(dict_en, dict_fr)
      
          total_train = 0
          for i in train():
              total_train += 1
      
          total_test = 0
          for i in test():
              total_test += 1
      
          print total_train, total_test
      d6c6a996
  9. 03 3月, 2017 2 次提交
  10. 02 3月, 2017 4 次提交
  11. 28 2月, 2017 1 次提交
  12. 27 2月, 2017 1 次提交