Commit 42a0947
authored
[Move selected_rows PR #5] VisitDataType use Pten::DataType (PaddlePaddle#39236)
* Added selected_rows and rw_lock to pten
* Renamed the unit test target to fix CI
* Removed Class SelectedRows in Fluid, changed include/cmake relationship, use pten::SelectedRows in Fluid
* Remove rw_lock.h,rw_lock_test.cc in fluid
* Use pten::RWLock and pten::AutoRDLock, fix CI
* Use pten::SelectedRows
* Use pten::SelectedRows
* Fix to pass NPU CI
* Selected_Rows inherits from TensorBase
* Use pten::SelectedRows, to pass NPU CI
* To fix NPU CI
* To fix NPU CI again
* Use paddle/pten/core/enforce and polish code
* Use pten::DataType instead of using proto_type
* Move part of data_type to pten
* Polish Code1 parent 452bcbe commit 42a0947
2 files changed
+72
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
191 | 189 | | |
192 | 190 | | |
193 | 191 | | |
194 | | - | |
195 | | - | |
| 192 | + | |
| 193 | + | |
196 | 194 | | |
197 | 195 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
204 | 202 | | |
205 | 203 | | |
206 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
0 commit comments