1. 29 11月, 2017 1 次提交
  2. 28 11月, 2017 2 次提交
    • W
      Refine code and comments · ea7359c6
      wanghaoshuang 提交于
      1. Remove checking for num_neg_samples.
      2. Fix dims of Output(Cost) and Input(Bias).
      3. Renamed num_sampled_classes to num_neg_samples.
      4. Add TODO for add more distribution sampler.
      5. Init grad_data of bias by zero.
      6. Refine comments.
      7. Register a kernel for type double.
      ea7359c6
    • Y
      Feature/remove g program (#5930) · 0aceeee1
      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
      
      * Fix CI
      0aceeee1
  3. 27 11月, 2017 9 次提交
  4. 26 11月, 2017 2 次提交
    • D
      "add floor, ceil, round op" (#5898) · 513b1e01
      dzhwinter 提交于
      * "add floor, ceil, round op"
      
      * "reuse zero gradient"
      
      * "fix divide zero"
      
      * "fix numpy floor error"
      513b1e01
    • D
      Feature/copytensor (#5455) · 45062fe5
      dzhwinter 提交于
      * "make global tensor function independently"
      
      * "replace functor"
      
      * "fix inline template error"
      
      * "fix tensor array with CopyFrom"
      
      * "fix other case use CopyFrom"
      
      * "move the op interface hardly"
      
      * "fix operators"
      
      * "fix typo"
      
      * "delete dynamic recurrent rnn and fix gru_unit in debugmode"
      
      * "fix unique_ptr copy"
      
      * "fix cuda copy"
      
      * "fix namespace error"
      
      * "removed nccl python test"
      
      * "fix include error"
      
      * "fix typo"
      
      * fix copy util test
      45062fe5
  5. 24 11月, 2017 4 次提交
  6. 23 11月, 2017 2 次提交
  7. 22 11月, 2017 2 次提交
    • 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
    • F
      refine test_understand_sentiment_lstm (#5781) · f04c97a0
      fengjiayi 提交于
      * fix
      
      * Fix a bug
      f04c97a0
  8. 21 11月, 2017 4 次提交
  9. 20 11月, 2017 4 次提交
  10. 19 11月, 2017 1 次提交
  11. 18 11月, 2017 3 次提交
  12. 17 11月, 2017 4 次提交
  13. 16 11月, 2017 2 次提交
    • Y
      feature/while_grad_op (#5554) · 18f0c40a
      Yang Yang(Tony) 提交于
      * first commit
      
      * Python API for while op
      
      * Python Unittest for simple while_op forward
      
      * fix out to be list
      
      * Fix UT
      
      * VarType
      
      * Fix several bugs
      
      * Fix bug
      
      * Fix bug
      
      * Fix Bug
      
      * Fix bug
      
      * Fix unittest
      
      * Remove debug log
      
      * Add comments
      
      * add PADDLE_ENFORCE
      
      * while_grad_op first commit
      
      * Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs
      
      * not sure how to setdim of while outputs
      
      * push for test
      
      * add executor vlog
      
      * fix bug of while_op cond
      
      * Several enhancement for code
      
      1. Backward always infer shape & infer var type. Since there are RENAME
      variables will be created when creating backward operator, but their
      shape & var types are not inferenced.
      2. Never use SomePtr-> directly, since every pointer could be nullptr if
      it is a function return value. Add `detail::Ref` to cast pointer to
      reference safely.
      3. Enhance error message for backward.
      4. Infer data type of variable in `sum` and `tensor_write`
      
      * Fix bugs of while_op gradient
      
      * Fix several bugs of while_op grad
      
      * fix fill zeros like
      
      * fix 3 >= 3
      
      * fix place holder shouldn't be null
      
      * fail on sum op
      
      * Fix SumOp of TensorList
      
      * clean up
      
      * pass while test
      
      * fix test_array_write_read
      
      * pass sum op
      
      * Support int/int64 for fill_constant_batch_size_like
      
      * Fix compile
      18f0c40a
    • Q
      mv test_beam_search_op.py to fluid (#5687) · a76b6144
      Qiao Longfei 提交于
      a76b6144