1. 31 10月, 2017 4 次提交
    • F
      Add accuracy layer (#4958) · f122a5da
      fengjiayi 提交于
      * Complete accuray layer
      
      * Fix error
      
      * Fix error
      
      * Add 'accuracy' to __all__
      
      * update
      
      * Fix Type error
      
      * Fix error
      
      * Refine unit tests
      
      * Fix an unit test error
      f122a5da
    • Q
      refine square_error_cost layer (#5216) · 669786bf
      QI JUN 提交于
      * reimplement pow operator
      
      * add pow_grad operator
      
      * fix code style
      
      * fix build error
      
      * fix op_test bug
      
      * revert pow operator
      
      * add FIXME comment
      669786bf
    • D
      "add sequence conv layer" (#5117) · f4710cf0
      dzhwinter 提交于
      * "add sequence conv layer"
      
      * "add sequence layer"
      
      * add networks
      
      * "fix based comment"
      
      * Update layers.py
      f4710cf0
    • Q
      add resnet (#5206) · cdc700bb
      Qiao Longfei 提交于
      * add resnet
      
      * optimize code
      cdc700bb
  2. 30 10月, 2017 1 次提交
    • Q
      03 image classification (#5192) · 0049ce04
      Qiao Longfei 提交于
      * add batch_norm_layer
      
      * add img_conv_group layer and test
      
      * add check to Tensor.type()
      
      * forward can run
      
      * with backward
      
      * change label data time from int32 to int64
      
      * refine code
      
      * follow comment
      0049ce04
  3. 29 10月, 2017 2 次提交
    • Y
      Cast Operator (#5149) · b84e8226
      Yu Yang 提交于
      * Cast Operator
      
      Cast input variable to other data type
      
      * Fix compile error
      
      * Add cast op
      
      * Follow comments
      b84e8226
    • Q
      support sparse output for lookup table grad op (#5145) · 008f40ce
      QI JUN 提交于
      * add sparse support for sum op
      
      * typo fix
      
      * fix gpu build error
      
      * fix unittest error
      
      * typo fix
      
      * infer var type and shape in op_test
      
      * follow comments
      
      * fix build error
      
      * bypass some unittests depend on NetOp
      
      * support sparse output for lookup table grad op
      
      * refine codes
      
      * fix gpu build error
      
      * fix lookup table grad gpu kernel
      
      * fix ci
      
      * fix ci
      
      * fix ci
      
      * fix bug in lookup_table_grad op
      
      * fix bug in test_word2vec
      
      * register double kernel for some operators
      
      * set is_sparse=True in test_word2vec
      
      * fix lookup table grad op CUDA kernel bug
      
      * disable test_modified_huber_loss_op temporarily
      
      * disable test_lstm_unit_op temporarily
      008f40ce
  4. 27 10月, 2017 2 次提交
  5. 24 10月, 2017 2 次提交
  6. 20 10月, 2017 3 次提交
    • Q
      add test_fit_a_line (#4936) · 9903e49f
      QI JUN 提交于
      * add test_fit_a_line
      
      * Update
      
      * fix persistable bug
      
      * fix elementwise add bug
      
      * set correct attr for bias op in fc layer
      
      * set correct attr for bias op in fc layer
      
      * Update
      
      1. Add init_program to hold initializers
      2. bug fix
      
      * add test_fit_a_line
      
      * fix persistable bug
      
      * fix elementwise add bug
      
      * fix type
      
      * add gitignore
      
      * Complete fit_a_line test
      
      * revert code
      
      * Clean up
      
      * Revert "revert code"
      
      This reverts commit eb1aa015.
      
      * Refine
      
      * Fix unit test
      9903e49f
    • F
      Test recognize_digits_conv (#4926) · 1f1be6c9
      fengjiayi 提交于
      * Init
      
      * unify layer names
      
      * Update
      
      * Add pool2d layer
      
      * Test recognize_digits_conv
      
      * Clean up
      1f1be6c9
    • Y
      Feature/py executor test (#4922) · 3db52783
      Yu Yang 提交于
      * Implement FC layer with helper
      
      * Update LayerHelper
      
      * Add debug string for Python ProtoBuf
      
      and Rename `Sync` to `Flush`
      
      * Add check of ProtoBuf initialization
      
      * Layer wrapper for FC
      
      * Fix unittest
      
      * Fix CI
      
      * Add code generator
      
      * AttributeChecker Better error log and speicalize bool
      
      Since lots of types can be cast to bool
      
      * Complete mlp, fit_a_line
      
      * Expose get global scope
      
      * Make global scope not thread-safe
      
      1. It is no need to make global scope thread-safe, since it will be
      invoked in Python main thread.
      2. Do not free the global scope when C++ exit. Let the OS free memories,
      otherwise, we need to handle the destroy dependencies.
      
      See
      https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
      
      * Fix
      
      * Implementation of simple conv_2d layer
      
      * Stash
      
      * Remove private data members in OpRegister
      
      * Fix bugs
      
      * Stash
      
      * Expose FeedFetchList as VarType
      
      * Change ProgramDesc not a global variable
      
      * Polish code style
      
      * Stash
      
      * Correct implement BlockDesc destructor
      
      * Correct implement BlockDesc destructor
      
      * Unify program as parameter name
      
      * Fix bugs
      
      * Add unittest
      
      * Fix unit test error
      
      * Remove unused functions
      
      * Add clone for Python Program
      
      * Working on executor
      
      * Stash
      
      * Add glog as dependencies of ops
      
      * Use VLOG to logging some information is helpful when we debug Paddle
      
      * Expose VarDesc::persistable to Python
      
      * Test executor
      
      * Complete unittest
      
      * Polish code
      
      * Fix merge error
      
      * Follow comment
      
      * Polish Python Code
      3db52783
  7. 19 10月, 2017 2 次提交
    • F
      unify layer names (#4913) · c93596d3
      fengjiayi 提交于
      c93596d3
    • F
      implementation of simple conv2d layer (#4868) · efd009a0
      fengjiayi 提交于
      * Implement FC layer with helper
      
      * Update LayerHelper
      
      * Add debug string for Python ProtoBuf
      
      and Rename `Sync` to `Flush`
      
      * Add check of ProtoBuf initialization
      
      * Layer wrapper for FC
      
      * Fix unittest
      
      * Fix CI
      
      * Add code generator
      
      * AttributeChecker Better error log and speicalize bool
      
      Since lots of types can be cast to bool
      
      * Complete mlp, fit_a_line
      
      * Implementation of simple conv_2d layer
      
      * Fix bugs
      
      * Remove debug code
      efd009a0
  8. 17 10月, 2017 1 次提交
    • Y
      Implement FC layer with helper (#4726) · 8e52b34a
      Yu Yang 提交于
      * Implement FC layer with helper
      
      * Update LayerHelper
      
      * Add debug string for Python ProtoBuf
      
      and Rename `Sync` to `Flush`
      
      * Add check of ProtoBuf initialization
      
      * Layer wrapper for FC
      
      * Fix unittest
      
      * Fix CI
      
      * Add code generator
      
      * AttributeChecker Better error log and speicalize bool
      
      Since lots of types can be cast to bool
      
      * Complete mlp, fit_a_line
      8e52b34a