Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

copybara-service[bot]
Copy link

[dlpack] tf.Tensor now implements __dlpack__ and __dlpack_device__

Note that this change only affects exporting tf.Tensors via DLPack. The
DLPack import machinery does not currently support the new DLPack protocol.

See https://dmlc.github.io/dlpack/latest/python_spec.html and #61769.

@copybara-service copybara-service bot force-pushed the exported_pr_736101785 branch 2 times, most recently from cad2937 to 6d03295 Compare March 13, 2025 22:40
Note that this change only affects exporting `tf.Tensor`s via DLPack. The
DLPack import machinery does not currently support the new DLPack protocol.

See https://dmlc.github.io/dlpack/latest/python_spec.html and #61769.

PiperOrigin-RevId: 736673224
@copybara-service copybara-service bot force-pushed the exported_pr_736101785 branch from 6d03295 to fce26b9 Compare March 13, 2025 23:41
@copybara-service copybara-service bot closed this Mar 13, 2025
@copybara-service copybara-service bot deleted the exported_pr_736101785 branch March 13, 2025 23:42
@copybara-service copybara-service bot merged commit fce26b9 into master Mar 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant