Adds `tf.IndexedSlices` to this variable. Args: sparse_delta: `tf.IndexedSlices` to be added to this variable. use_locking: If `True`, use locking during the operation. name: the name of the operation. Returns: A `Tensor` that will hold the new value of this variabl
(self, sparse_delta, use_locking=False, name=None)
| 843 | raise NotImplementedError |
| 844 | |
| 845 | def scatter_add(self, sparse_delta, use_locking=False, name=None): |
| 846 | """Adds `tf.IndexedSlices` to this variable. |
| 847 | |
| 848 | Args: |
| 849 | sparse_delta: `tf.IndexedSlices` to be added to this variable. |
| 850 | use_locking: If `True`, use locking during the operation. |
| 851 | name: the name of the operation. |
| 852 | |
| 853 | Returns: |
| 854 | A `Tensor` that will hold the new value of this variable after |
| 855 | the scattered addition has completed. |
| 856 | |
| 857 | Raises: |
| 858 | TypeError: if `sparse_delta` is not an `IndexedSlices`. |
| 859 | """ |
| 860 | raise NotImplementedError |
| 861 | |
| 862 | def scatter_max(self, sparse_delta, use_locking=False, name=None): |
| 863 | """Updates this variable with the max of `tf.IndexedSlices` and itself. |
no outgoing calls