1. 12 5月, 2018 2 次提交
    • J
      [Test-driven] Recognize Digit: update mnist test cases with the new API syntax. (#10507) · 177324b0
      Jeff Wang 提交于
      * Update the mnist test cases with the new API syntax.
      
      * Turn on the tests for MNIST
      
      * delete the test files got merged accidently.
      
      * Enable the mnist tests. ready for test driven development.
      
      * Comment out the infer first
      This is to confirm that the Trainer.train is working
      
      * Add CMake file to include the tests
      
      * Make the train program only return avg_cost for now
      
      * Update the tests to use the latest syntax
      177324b0
    • Q
      Add inferencer infer (#10445) · 2a971f30
      Qiao Longfei 提交于
      * add Inference.infer
      
      * optimize code
      
      * update no_test_word2vec_new_api.py
      
      * update trainer
      
      * split check_and_get_place
      
      * use inference_program to save inference model in Trainer
      
      * update demo
      
      * update save_inference_model
      
      * clean code
      2a971f30
  2. 11 5月, 2018 2 次提交
  3. 10 5月, 2018 3 次提交
  4. 09 5月, 2018 1 次提交
  5. 08 5月, 2018 7 次提交
  6. 07 5月, 2018 5 次提交
  7. 04 5月, 2018 4 次提交
  8. 03 5月, 2018 3 次提交
    • A
      Write the Understand Sentiment book example with stacked LSTM using new API (#10355) · 3000e994
      Abhinav Arora 提交于
      * Add understand apiu with stacked lstm for new API
      
      * Complete exam
      3000e994
    • T
      MKLDNN implementation of batch normalization (#9904) · 4a497b82
      Tomasz Patejko 提交于
      * Initial implementation of forward pass for MKLDNN batch norm
      
      * Added attributes for MKLDNN batch norm
      
      * MKLDNN batch norm forward pass passes unittest. Started working on backward
      
      * Backward pass for MKLDNN batch norm added
      
      * MKLDNN batch norm: scoring added to forward pass
      
      * MKLDNN batch norm: bias as input added; handling AnyLayout when kernel is looked up
      
      * MKLDNN batch norm: python unit tests added; mkldnn tests removed
      
      * MKLDNN batch norm: changes required by cpplint
      
      * MKLDNN batch norm: refactoring the operator
      
      * MKLDNN batch norm: saved variance inversed in backward pass for correct execution of MKLDNN unit tests
      
      * MKLDNN batch norm: refctoring, function for static/const cast to void* added
      
      * MKLDNN batch norm: remove AnyLayout from batch norm
      
      *  MKLDNN batch norm: only NCHW format is supported. Unittests refactored
      
      * MKDNN batch norm: use_mkldnn added to attributes
      
      * MKLDNN batch norm: AnyLayout removed from unittest
      
      * MKLDNN batch norm: added CUDNN defines to batch norm
      
      * MKLDNN batch norm: undefined data_format variable corrected
      
      * MKLDNN batch norm: use_cudnn added, use of setUp method for configuring attributes
      
      * MKLDNN batch norm: added use_cudnn attribute to batch norm operator
      
      * MKLDNN batch norm: correcting batch norm unit tests for MKLDNN
      
      * MKLDNN batch norm: MKLDNN tests moved to another file; reverting changes for saved variance not being inverted
      
      * Change default layout to NCHW
      
      * MKLDNN batch norm: init_kernel_type method added to unit tests
      
      * MKLDNN batch norm: style changes
      
      * MKLDNN batch norm: unit tests refactored
      
      * MKLDNN batch norm: added use_mkldnn attribute to batch norm python interface
      4a497b82
    • H
      improve trainer API · a66052c6
      Helin Wang 提交于
      - The trainer and inferencer will load params from disk if param_path
        argument is not None in their constructor.
      
      - Remove params.py, we will expose core.Scope to the user if needed
        (e.g., for GAN). Currently we will not expose it, unless we clearly
        know doing so can support GAN.
      
      - Add `save_params` to Trainer (a TODO item).
      
      - rename "network" to "program"
      a66052c6
  9. 02 5月, 2018 8 次提交
  10. 30 4月, 2018 1 次提交
  11. 28 4月, 2018 3 次提交
  12. 27 4月, 2018 1 次提交