1. 10 10月, 2019 1 次提交
  2. 30 9月, 2019 1 次提交
  3. 28 9月, 2019 1 次提交
    • S
      improve op uniform_random, argument shape support tensor and tensor in list (#19786) · f1eebf75
      silingtong123 提交于
      * test=develop, argument shape support tensor and tensor in list
      
      * test=develop,Increasing the coverage of CI tests
      
      * test=develop, modify the document and update API.spec
      
      * test=develop, modify the doc and update API.spec
      
      * test=develop, modify the doc and update API.spec
      
      * test=develop, modify the interface of UniformInitializer
      
      * test=develop, modify the interface of XavierInitializer and MSRAInitializer
      
      * test=develop, modify based on review's comments
      
      * test=develop, modify based on review's comments
      
      *  test=develop, modify based on review's comments
      f1eebf75
  4. 22 8月, 2019 1 次提交
  5. 19 3月, 2019 1 次提交
  6. 18 3月, 2019 1 次提交
  7. 15 3月, 2019 1 次提交
  8. 24 10月, 2018 1 次提交
  9. 12 10月, 2018 1 次提交
    • C
      Fix layers.uniform_random (#13823) · 9c77b65c
      chengduo 提交于
      * fix layers.uniform_random
      
      * fix uniform_random
      test=develop
      
      * remove var type set
      test=develop
      
      * fix similar error
      test=develop
      9c77b65c
  10. 24 8月, 2018 1 次提交
  11. 17 8月, 2018 1 次提交
  12. 13 6月, 2018 1 次提交
  13. 11 6月, 2018 1 次提交
    • Y
      Polish documentation · 2955ff58
      yuyang18 提交于
      * row_conv
      * uniform_random
      * layer_norm
      * create_parameter
      * hard_shrink
      * ssd_loss
      2955ff58
  14. 08 5月, 2018 1 次提交
    • Y
      Clean OpProtoAndCheckerMaker · 0e78cb69
      Yu Yang 提交于
      Do not use ctor
      
      * Reduce line of codes.
      * We can use virtual function for Maker now.
      * The implementation does not care what maker holds, it is easier to
      refactor later.
      0e78cb69
  15. 26 4月, 2018 1 次提交
  16. 12 4月, 2018 2 次提交
  17. 10 4月, 2018 1 次提交
  18. 09 4月, 2018 2 次提交
  19. 16 2月, 2018 2 次提交
    • 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
    • E
      Generating random numbers with given batch size (#8337) · 6752b06f
      emailweixu 提交于
      * Generating random numbers with given batch size
      
      uniform_random_batch_size_like_op
      gaussian_random_batch_size_like_op
      
      * More comments about random seed.
      
      * Move test_*_random_batch_size_like_op to unittests
      6752b06f
  20. 12 2月, 2018 1 次提交
  21. 10 2月, 2018 2 次提交
  22. 08 1月, 2018 1 次提交
    • 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
  23. 26 12月, 2017 1 次提交
  24. 25 12月, 2017 1 次提交
    • 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
  25. 20 12月, 2017 1 次提交
  26. 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
  27. 24 11月, 2017 1 次提交
  28. 08 11月, 2017 1 次提交
    • Y
      Polish OpWithKernel · bbdac7f7
      Yu Yang 提交于
      * Chage `IndicateDataType` to `GetKernelType`. Make it easier to
        understand.
      * Change `OpKernelKey` to `OpKernelType`
      * Make operator developers can customize which kernel the operator will
        use in runtime.
      bbdac7f7
  29. 04 11月, 2017 1 次提交
  30. 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
  31. 22 10月, 2017 1 次提交
  32. 20 10月, 2017 1 次提交
    • 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
  33. 17 10月, 2017 1 次提交
  34. 12 10月, 2017 1 次提交
  35. 07 10月, 2017 1 次提交
  36. 28 9月, 2017 1 次提交