Commit 80c7ce5
Simplify the get_random_model_and_data() method (#1251)
Summary:
Pull Request resolved: #1251
As titled. The sample data type is fixed after construction and should be handled separately based on its type.
Reviewed By: vivekmig
Differential Revision: D55153967
fbshipit-source-id: 170eec1773851260ca27fdc5b1f247154276ec7d1 parent 5c9d0bf commit 80c7ce5
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
293 | 291 | | |
294 | 292 | | |
295 | 293 | | |
296 | 294 | | |
297 | 295 | | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
303 | 299 | | |
304 | 300 | | |
305 | 301 | | |
| |||
0 commit comments