1. 19 8月, 2020 1 次提交
  2. 20 9月, 2019 1 次提交
    • H
      Set states of recurrent op as dependent vars in prune (#19865) · e1171142
      Huihuang Zheng 提交于
      * Set states of recurrent op as dependent vars in prune of save inference model
      
      This PR will fix the save/load inference model problem of RNN models.
      
      The reason of the bug is that save_inferenc_model will prune OPs that doesn't contribute to Output. But in recurrent_op, States are not Output, OPs refers States will be pruned. 
      
      This fix adds States of recurrent_op as dependent var so that OPs referring States won't be pruned. 
      e1171142
  3. 05 9月, 2019 1 次提交
  4. 12 4月, 2018 1 次提交
    • Y
      remove net op and cond_op (#9663) · b26f5050
      Yang Yang(Tony) 提交于
      * remove net op and cond_op
      
      * fix cpplint
      
      * fix dependency
      
      * delete backward_test; fix compile
      
      * disable batch_norm backward
      
      * rm test_net.py
      
      * make batchnorm test independent of backward.cc
      
      * make test_layer_norm_op independent of backward.cc
      
      * make test_layer_norm_op independent of backward.cc
      
      * delete unused code
      
      * clean up
      b26f5050
  5. 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 fccaa4c5.
      
      * 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
  6. 12 2月, 2018 1 次提交
  7. 10 2月, 2018 2 次提交
  8. 26 12月, 2017 1 次提交
  9. 21 12月, 2017 1 次提交
  10. 20 12月, 2017 1 次提交
  11. 11 12月, 2017 1 次提交
    • Y
      Fix gcc4.9 (#6442) · 95924686
      Yiqun Liu 提交于
      * Fix compiling error of gcc4.9.
      
      * Refine the check of cxx compiler flags in api/CMakeLists.txt.
      95924686
  12. 01 11月, 2017 1 次提交
    • Y
      Feature/executor use program bind (#5196) · 1363ddb6
      Yu Yang 提交于
      * Init commit
      
      * Make executor use ProgramDescBind
      
      * Change Attribute from BlockDesc to BlockDescBind
      
      * Since we will get the program desc in RNN, just BlockDesc is not
        enough.
      1363ddb6
  13. 28 10月, 2017 1 次提交
    • F
      Python API for inference model saving/load (#5020) · 6783dcee
      fengjiayi 提交于
      * Add `dump_to_file()` for ProgrameDescBind in pybind
      
      * Update
      
      * Add utility.py
      
      * typo
      
      * Fix bugs
      
      * Move add_feed/fetch_components to untility.py
      
      * Compelete dump
      
      * Follow comments
      
      * Change output of Prune() from inference to pointer
      
      * Expose Prune() to Python
      
      * Compelete save/load API of inference model
      
      * Fix errors
      
      * Debuging
      
      * Compelete unit tests
      
      * follow comments
      6783dcee
  14. 19 10月, 2017 1 次提交
  15. 17 10月, 2017 2 次提交
  16. 12 10月, 2017 4 次提交