1. 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
  2. 13 2月, 2018 1 次提交
    • A
      Separate VarType from VarDesc in framework.proto and fix all related compiler errors (#8414) · fcadb452
      Abhinav Arora 提交于
      * Refine Type system
      
      * Fixing type inference
      
      * Fixed create_reader_op.cc
      
      * Fix var_desc.h
      
      * Fixed executor.cc
      
      * Fix shape_inference.h
      
      * Fixed create_reader_op.cc
      
      * Fix tensor_util.h
      
      * Fixed var_type_inference_test.cc
      
      * Fix shape_inference.cc
      
      * Fixed sum_op.c
      
      * Fixed read_op.cc
      
      * Fix var_type.h
      
      * Fixed beam_search_decode_op.cc
      
      * sendrecvop_utils.cc
      
      * Fix operator.cc
      
      * Fixed lookup_table_op.cc
      
      * Fixed op_desc.cc
      
      * Fixed get_places_op.cc
      
      * Fixed lod_rank_table_op.cc
      
      * Fixed beam_search_op.cc
      
      * Fix var_desc.cc
      
      * Fixed lod_tensor_to_array_op.cc
      
      * Fixed while_op.cc
      
      * Fix program_desc_test.cc
      
      * tensor_array_read_write_op.cc
      
      * Fix assign_op.cc
      
      * Fix executor.cc
      
      * Fix protobuf.cc
      
      * Fix protobuf.cc
      fcadb452
  3. 12 2月, 2018 1 次提交
  4. 10 2月, 2018 2 次提交
  5. 09 2月, 2018 1 次提交
  6. 06 2月, 2018 2 次提交
  7. 02 2月, 2018 1 次提交
  8. 31 1月, 2018 1 次提交
  9. 19 1月, 2018 1 次提交
  10. 14 1月, 2018 1 次提交
    • D
      "cudnn operators change to cudnn kernel" (#6660) · 5ad1aef0
      dzhwinter 提交于
      * "unified operators"
      
      * "add CUDNN register"
      
      * "add use cudnn attribute"
      
      * "add attribute"
      
      * "test conv tranpose op"
      
      * "remove duplicated attr"
      
      * "fix op test"
      
      * "add attribute to set cudnn"
      
      * "add more log"
      
      * "need layout op register support"
      
      * "add more log"
      
      * "change GetExpectedKernelType "
      
      * "fix Get attr in conv_op"
      
      * "fix CI"
      
      * "fix tests"
      
      * "removed kernel priority fallback"
      
      * "fix CI"
      
      * "fix stack pointer bug"
      
      * "refine buggy interface"
      
      * "add const cast to save life"
      
      * "fix get_output_with_grad"
      
      * "fix op test with dataformat"
      
      * ""fix pooling
      
      * "fix pooling test"
      
      * "fix CI"
      
      * "fix with_gpu error"
      
      * "add transform needed functional check"
      
      * "fix unpack list error"
      
      * "comment out parallel.do temporary"
      
      * "fix CI"
      
      * "fix compile doc error"
      
      * "make threshold larger"
      5ad1aef0
  11. 12 1月, 2018 1 次提交
  12. 10 1月, 2018 3 次提交
  13. 09 1月, 2018 1 次提交
  14. 08 1月, 2018 5 次提交
    • Q
      fix priority · 0b52cc88
      qiaolongfei 提交于
      0b52cc88
    • Q
      add back priority · ca90356b
      qiaolongfei 提交于
      ca90356b
    • D
      Feature/add shared layout (#7233) · e94db381
      dzhwinter 提交于
      * "reuse ShareLoD with no regret"
      
      * "removed base class shareLayout"
      
      * "fix CI"
      e94db381
    • Q
      cpu gpu transform function (#7191) · 0f353ab4
      Qiao Longfei 提交于
      * add rename guard
      
      * add device_data_transform
      
      * add device_data_transform_test
      
      * modify GetExpectedKernelType
      
      * update operator.run
      
      * support test test_label_semantic_roles
      
      * optimize code
      
      * optimize code
      
      * rename GetActualKernelType to GetExpectedKernelType
      
      * fix chunk_eval_op and device_data_transform_test
      
      * add is_same_place to place
      
      * optimize code, refine rename_guard
      
      * refine rename guard, add GetKernelTypeForVar
      
      * optimize code
      
      * add some log
      
      * rename guard
      
      * use sub scope to create var
      
      * fix compile
      
      * add IsInitialized for Tensor
      
      * add VarIsTensor
      
      * fix op_registry_test
      
      * test
      
      * tmp disable priority
      
      * restore switch_kernel.md
      
      * code clean
      0f353ab4
    • E
      Show argument dimensions with operator::DebugStringEx (#7268) · 8814bec0
      emailweixu 提交于
      This can make it easier to locate error.
      8814bec0
  15. 05 1月, 2018 1 次提交
    • D
      Feature/use cudnn (#7141) · 5593858d
      dzhwinter 提交于
      * "add c++ side kernel selection"
      
      * "add multiple kernel op test"
      
      * "kernel selection only support cudnn"
      
      * "better formatter"
      
      * "small fix with UseCPU"
      
      * "depends on change interface Get(Place, Library)"
      
      * "fix CI"
      
      * "fix python cudnn test"
      
      * "leave the register cudnn op to another PR"
      
      * "fix CI"
      
      * "use all kernel by default"
      
      * "fix CI"
      5593858d
  16. 04 1月, 2018 1 次提交
  17. 02 1月, 2018 1 次提交
    • D
      Feature/transform (#7111) · 899a79cc
      dzhwinter 提交于
      * "fix data transform"
      
      * "data transformer"
      
      * "add device pool"
      
      * "add test"
      
      * "fix ci"
      
      * "fix datalayout implementation "
      
      * "fix based on comment"
      899a79cc
  18. 29 12月, 2017 1 次提交
  19. 27 12月, 2017 6 次提交
  20. 25 12月, 2017 2 次提交
    • Q
      Impl kernel hint (#6883) · af0c4c45
      Qiao Longfei 提交于
      * init kernel hint
      
      * fix typo
      
      * rm unused code
      
      * add include in op_kernel.h
      
      * restore op_kernel since it will be moved to op_kernel_type
      
      * change force_cpu to use_cpu
      
      * fix compilation
      af0c4c45
    • Q
      add op_kernel_type_test · 313afc9c
      qiaolongfei 提交于
      313afc9c
  21. 24 12月, 2017 2 次提交
    • Q
      refine OpKernelType (#6879) · 37e96264
      QI JUN 提交于
      * refine OpKernelKey
      
      * refine codes
      
      * fix code style
      
      * follow comments
      37e96264
    • D
      Feature/operator run place (#6783) · 735eba29
      dzhwinter 提交于
      * "change operator interface"
      
      * "move devicepool to device_context"
      
      * "fix operator test"
      
      * "fix op_registry Run interface"
      
      * "net op passed. Need to fix nccl multi-Context"
      
      * "add nccl group function"
      
      * "add nccl group function"
      
      * "fix gpu count exceed 32 error"
      
      * "fix recurrent op, nccl op"
      
      * "change the other operators interface with Place"
      
      * "fix typo"
      
      * "fix pybind"
      
      * "fix device in python side"
      
      * "fix pybind failed"
      
      * "add init for test"
      
      * "fix CI"
      735eba29
  22. 21 12月, 2017 1 次提交
  23. 20 12月, 2017 1 次提交
  24. 12 12月, 2017 1 次提交
    • Q
      Refine device context (#6433) · 61ec0b95
      QI JUN 提交于
      There are mainly following fixes:
      
      - take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place`
      - remove `eigen_device` interface in base class  `DeviceContext`
      - remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext`
      - remove unused `platform::EigenDeviceConverter`
      - rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL`
      - rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
      61ec0b95
  25. 05 12月, 2017 1 次提交