Xin Pan
342e436158
Make Var::GetMutable robust
...
test=develop
7 years ago
Xin Pan
288a112ffd
Revert "Revert "Revert "Make variable::GetMutable robust"""
7 years ago
Xin Pan
ddb76d0d09
Make GetMutable more robust
...
test=develop
7 years ago
Xin Pan
ddd60581b7
clean up channel
...
test=develop
7 years ago
Abhinav Arora
cbbf08aee9
Fix CPPLint errors in some framework files
7 years ago
kavyasrinet
77ee8fb240
Exposing Channel to be used as a Variable and integrating with Fluid ( #8486 )
...
* Adding set_capacity method support
* Adding Python for make_channel
* Updating notest_concurrency
* Write python for make_channel method
* Write python for make_channel method
* Fix make_channel and test
* Placeholder ops for channel send, recv and close
* Adding ToTypeIndex method to var_type.h
* Add var_type.h to channel:
* Added POD_Type to the method
* Add CHANNEL to executor
* Updated get and set DataType to accomodate Channels
* Updating get and set to incorporate channels
* Adding CHANNEL as supported VarType in protobuf
* Removing unecessary import
* Fixing VarDesc to adapt to Channel as VarType
* Add channel.h to executor
* Remove innclude from channel
* Updated var_type to support Channel as var type
* Adding get_channel to pybind
* Added ChannelHolder
* Adding make_channel as an op
* Adding ChannelHolder in channel
* Fixing typo
* Commenting out operators in concurrency
* Removing totypeid right now since we don't need it.
* Reverting python changes
* Fixing typo in framework.py
* Modify comments for ReaderHolder
7 years ago
Abhinav Arora
c7ad26d6a4
[WIP] Move DataType enum inside VarType ( #8447 )
...
* 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 fccaa4c5818ed9f379ea1ce4315066cc78076c64.
* 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
7 years ago
Abhinav Arora
fcadb45251
Separate VarType from VarDesc in framework.proto and fix all related compiler errors ( #8414 )
...
* 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
7 years ago
qingqing01
24509f4af9
Fix the grammar in copyright. ( #8403 )
7 years ago
Yi Wang
fc374821dd
Correct #include path
7 years ago
Yi Wang
90648f336d
Move file to fluid/; Edit CMakeLists.txt
7 years ago