1. 30 11月, 2017 1 次提交
    • Y
      Feature/switch program (#5932) · ac596a39
      Yu Yang 提交于
      * Unify fluid submodules to fluid module
      
      Change books just use `import fluid`, not submodules
      
      * Remove g_main_program/g_startup_program
      
      Use default_main_program/default_startup_program instead
      
      * Typo
      
      * Add API for switch default program
      
      * Two functions: switch_main_program/switch_startup_program
      * A guard: program_guard. Users can use the `with` statement change
        default programs
      * Change unittests in `test_layers`
      
      * Fix CI
      
      * Fix CI
      
      * Fix CI
      ac596a39
  2. 29 11月, 2017 1 次提交
  3. 28 11月, 2017 1 次提交
  4. 24 11月, 2017 1 次提交
  5. 23 11月, 2017 1 次提交
  6. 22 11月, 2017 1 次提交
    • Q
      07/Label semantic roles (#5798) · 53bd51e3
      Qiao Longfei 提交于
      * init label_semantic_roles.py
      
      * add linear_chain_crf and test
      
      * complete test_linear_chain_crf
      
      * correct last layer of db_lstm
      
      * update optimizer and initializer
      
      * update param_initializer of embedding_layer
      
      * support load pre trained embedding
      
      * rm unused parameter
      
      * optimize code
      
      * clean code
      
      * fix test
      
      * add todo
      53bd51e3
  7. 14 11月, 2017 1 次提交
  8. 09 11月, 2017 1 次提交
  9. 05 11月, 2017 1 次提交
  10. 29 10月, 2017 1 次提交
    • 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
  11. 27 10月, 2017 1 次提交
  12. 24 10月, 2017 1 次提交
    • Q
      add book04.word2vec train test (#5002) · fcd74e06
      QI JUN 提交于
      * init
      
      * ensure ids in lookup table op must be a column vector
      
      * add book4 configuration in test_layers
      
      * debug test_book4
      
      * add test_word2vec
      
      * follow comments
      
      * follow comments
      fcd74e06
  13. 20 10月, 2017 1 次提交
  14. 19 10月, 2017 4 次提交
    • F
      unify layer names (#4913) · c93596d3
      fengjiayi 提交于
      c93596d3
    • F
      Fix several bugs in compile time backward and Protobuf desc (#4894) · a204fefe
      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
      
      * Correct implement BlockDesc destructor
      
      * Fix bugs
      
      * Fix unit test error
      
      * Follow comments
      a204fefe
    • Y
      Change ProgramDesc not a global variable (#4879) · e747623e
      Yu Yang 提交于
      * Change ProgramDesc not a global variable
      
      * Polish code style
      
      * Correct implement BlockDesc destructor
      
      * Unify program as parameter name
      e747623e
    • 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
  15. 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