Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
TensorFlow Developers
Conversations
About
[RFC] Tensor Indexed Updates
20 views
Skip to first unread message
Antonio Sanchez
unread,
Oct 24, 2022, 4:12:25 PM
10/24/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to devel...@tensorflow.org
Hello everyone,
I am happy to announce that
RFC: Tensor Indexed Updates
is ready for review.
The feedback phase will be open until November 11, 2022. Comments are invited to the
pull request linked
. You can view the
design doc here
, and also
leave comments inline
on the document source.
Summary:
This proposal introduces a new python API for "updating" elements within a tensor using numpy-like indexing.
For immutable tensors, introduces
tensor.at
[indices].set(updates)
to return a modified copy of the original tensor (follows the JAX syntax)
For
tf.Variable
, allows direct slice assignment,
var[indices] = updates
.
Thanks for your review and participation!
~Antonio
Reply all
Reply to author
Forward
0 new messages