Commit 095cdd8
Share PrimitiveTypeToNbDLDataType with xla.
`PrimitiveTypeToNbDLDataType` is used in `LiteralToNdarray` in `xla_compiler` (jaxlib) which has python bindings for xla types. Create `xla_literal` which only contains bindings for `xla::Literal`.
- Moving `dlpack_support` out of jaxlib to third_party/tensorflow/compiler/xla/python
- Branched `dlpack` in jaxlib to third_party/tensorflow/compiler/xla/python so that the new xla dlpack target does not depend on pyclient.
PiperOrigin-RevId: 8159127961 parent 065851d commit 095cdd8
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | 301 | | |
308 | 302 | | |
309 | 303 | | |
310 | 304 | | |
311 | 305 | | |
312 | 306 | | |
313 | | - | |
| 307 | + | |
314 | 308 | | |
315 | 309 | | |
316 | 310 | | |
| |||
0 commit comments