1. 11 5月, 2018 1 次提交
    • F
      trainer.test() (#10453) · ba57348f
      fengjiayi 提交于
      * a draft of trainer.test()
      
      * polish trainer.test()
      
      * polish trainer.test()
      
      * update code format
      
      * update
      
      * polish code
      
      * polish code
      
      * polish code
      
      * Make trainer.test follow the rule of returning [loss, metric, metric, ..]
      ba57348f
  2. 07 5月, 2018 1 次提交
  3. 05 5月, 2018 1 次提交
  4. 03 5月, 2018 2 次提交
  5. 28 4月, 2018 1 次提交
  6. 27 4月, 2018 1 次提交
  7. 22 4月, 2018 1 次提交
  8. 19 4月, 2018 1 次提交
  9. 12 4月, 2018 1 次提交
  10. 10 4月, 2018 2 次提交
  11. 09 4月, 2018 2 次提交
  12. 08 4月, 2018 3 次提交
  13. 04 4月, 2018 2 次提交
  14. 03 4月, 2018 3 次提交
  15. 02 4月, 2018 1 次提交
    • W
      Refine average model option · 9708b21f
      wanghaoshuang 提交于
      1. Add attr 'average' into ParamAttr.
      2. Make 'params_grads' optional for AverageModel.
      3. Add option 'average_mean' and 'average_variance' for batch_normal.
      9708b21f
  16. 18 3月, 2018 1 次提交
  17. 15 3月, 2018 1 次提交
    • T
      Implement Select OP (#9088) · 1e4c504e
      Thuan Nguyen 提交于
      * Fix old documentation for channel_recv
      
      * Initial design of CSP select
      
      * Redesign channel implementation for Select Op
      
      * Remove unecessary header
      
      * Initial checkin of select op, currently will read all the conditional_op in the cases block and also pull out all channels involved in the select.
      
      * Init python select op API
      
      * Python select bug fix when checking op creates block
      
      * Add case_to_execute as (a) input to select, (b) into the passed inputs into the select op
      
      * Add in addition code for select op
      
      * Init fibonacci test from python
      
      * implement fibonnaci sequence test
      
      * update fib unit test
      
      * Improve select test cases
      
      * Shorten non-pep-8-ed lines
      
      * Add methods on channel needed by select op
      
      * Fix compile issues, finish implementation, still need to debug code
      
      * Fix issue with fibonncci test, it works now!
      
      * Change QueueMessage callback to take in an ChannelAction enum, fix select unit test
      
      * Fix case attributes
      
      * Fix issue with select control flow
      
      * Make cases - previously on each selectcase conditional_block - attributes to select
      
      * Use class constants for type of channel
      
      * Change select op to take in "cases" attribute
      
      * return boolean from select callback function to tell Channel if this RECV or SEND should be executed
      
      * Improve attributes and inputs comments on select op
      
      * Fix issues with python unit test
      
      * Assert fibonacci final output
      
      * Fix issue when channel name / channel var is null for "default" case in select op
      
      * Assert base select test output
      
      * Make QueueMessage use shared pointer and modify the order of the callback
      
      * Fixing the order in which the callback is called
      
      * Move channel utility methods to paddle/fluid/operators/concurrency/channel_util
      
      * Create channel_util and move channel util methods
      
      * Fix crash when calling select_op
      
      * Fix deadlock
      
      * Fix issue of channel destructor deadlock
      
      * Fix precommit issues
      
      * Accidentally checked in changes to beam_search_op, reverting change.
      
      * Fix dependency issue in concurrency cmake
      
      * add device_context dependency for concurrency target
      1e4c504e
  18. 06 3月, 2018 1 次提交
  19. 01 3月, 2018 2 次提交
    • T
      fix rename de-ref again · 17a311e2
      typhoonzero 提交于
      17a311e2
    • A
      Add Go_op, Channel_create, channel_close, channel_send and channel_receive ops (#8593) · 0d878e4c
      Abhinav Arora 提交于
      * Adding Python boilerplate code for Go op
      
      * Add very basic test case
      
      * Adding the python logic for go routine
      
      * Fix syntax
      
      * Changing test to notest
      
      * Rename Routine to Go
      
      * Combining GoGuard and Go in one class
      
      * Modify test
      
      * Adding fluid close channel
      
      * Fixing __init__.py for calling fluid.go()
      
      * Adding stubs for channel methods and updating test case
      
      * Removing import *
      
      * Adding imports from concurrency
      
      * Initial commit of GO_OP (for varun)
      
      * Creating local scopes and go through them
      
      * Updated go op inputs persistability enforcement
      
      * Add thread execution; compile failing though
      
      * Fix go op
      
      * Cleaned up Go op
      
      * Fix yapf format issue
      
      * Readd warp ctc dir for unit tests
      
      * Updated make_channel, channel_send, channel_recv and channel_close
      
      * Moved thread function to another method, update unit tests
      
      * remove output var
      
      * Add stubs for channel operators
      
      * Updating concurrency with signatures
      
      * Updated the signature with return status
      
      * Fixed dtype in variables
      
      * Updating stub of ChannelSend + add infershape
      
      * Updating stub of ChannelRecv + add infershape
      
      * Updated signature
      
      * Adding the channel_create operator
      
      * Merge channel send+receive ops
      
      * Update concurrency tests using all operators
      
      * Updating the create op with ChannelHolder
      
      * Fix issues with channel_create_op
      
      * Add the implementation for channel_close op
      
      * Add channel close operator, fix channel close op
      
      * Adding the channel_send op
      
      * Comment channels C++ and Python code
      
      * Concurrency python api comment fix
      
      * Update unit test to add Status variable
      
      * Adding channel receive operator
      
      * Update concurrency test to demonstrate a complete CSP flow
      
      * Fix clang-format issues
      
      * Fixed "Out" parameter name
      
      * Fixing merge conflict in framework.py
      
      * Add channel ops to framework.py no_kernel_op_set
      
      * Seperating channel_send and channel_recv operators
      
      * Documenting capacity type
      
      * Update concurrency test to create go block as child block of main program
      
      * Changing set status implementation
      0d878e4c
  20. 28 2月, 2018 2 次提交
  21. 27 2月, 2018 1 次提交
  22. 24 2月, 2018 4 次提交
  23. 23 2月, 2018 1 次提交
  24. 22 2月, 2018 1 次提交
  25. 16 2月, 2018 1 次提交
    • A
      [WIP] Move DataType enum inside VarType (#8447) · c7ad26d6
      Abhinav Arora 提交于
      * Move Pod Types from DataType enum to Type enum
      
      * Fixed data_type.h
      
      * Fix type in TensorDesc
      
      * Add comment to framework.proto
      
      * Fixed type in data_type.h
      
      * Updated format of type in data_type.h
      
      * Fix var_desc.h
      
      * Fix op_kernel_type.h
      
      * Fixed data_type_transform_test.cc
      
      * Fix operator.h
      
      * Fixed data_type_transform.cc
      
      * Fixed op_kernel_type_test.cc
      
      * Fix operator.cc
      
      * Fixed data_layout_transform_test.cc
      
      * Fix var_desc.cc
      
      * Fixed assign_value_op.cc
      
      * Fixed assign_value_op.h
      
      * fixed protobuf.cc
      
      * Fix data_layout_transform_test.cc and op_kernel_type_test.cc
      
      * Fixed rnn_memory_helper_op.cc
      
      * Fix progrma_desc_test.cc
      
      * Fixed fill_constant_batch_size_like_op.cc
      
      * Fix operator_test.cc
      
      * Fixed fill_constant_op.cc
      
      * Fixed gaussian_random_op.cc
      
      * Fixed uniform_random_op.cc
      
      * Fixed edit_distance_op.cc
      
      * Fixed fill_constant_batch_size_like_op.cc
      
      * Fixed rnn_memory_helper_op.cc
      
      * Fixed chunk_eval_op.cc
      
      * Fixed assign_value_op.cc
      
      * Fixed assign_value_op.h
      
      * Fixed cast_op.h
      
      * Fixed cast_op.h
      
      * Fix fill constant op
      
      * Fixed clang for assign_value_op.cc
      
      * Fix one_hot_op.h
      
      * Fix one_hot_op.cc
      
      * Fix fill_op.cc
      
      * Fixed sum_op.cc
      
      * Fixed sum_op clang
      
      * Fix uniform_random_op.cc
      
      * Fix gaussian_random_op.cc
      
      * Fix backward.cc
      
      * Fix protobuf.cc
      
      * Fixed prune_test.cc
      
      * Fixed op_registry_test.cc
      
      * Fix data_device_transform_test.cu
      
      * Fix travis error
      
      * Fixed one_hot_op.cu
      
      * Fixed op_registry_test.cc
      
      * Fixed nccl_op.cc
      
      * Fixing python tests
      
      * Revert "Fixing python tests"
      
      This reverts commit fccaa4c5818ed9f379ea1ce4315066cc78076c64.
      
      * Fixing Pybind to remove data type
      
      * Fixing tensor.py
      
      * Updated the new files:
      
      * Resolve error in merge conflict of fill_constant_batch_size_like_op.cc
      c7ad26d6
  26. 12 2月, 2018 1 次提交
  27. 11 2月, 2018 1 次提交