Module

SlicingAndJoiningOperations

Methods

# inner scatterUpdate(tensor, indices, updates) → {Tensor}

Creates a new tensor by applying sparse updates to individual values or slices to the passed in tensor according to indices.
Parameters:
Name Type Description
tensor Tensor A Tensor. Tensor to copy/update.
indices Tensor The tensor contains the indices into the output tensor, must have at least 2 axes: (num_updates, index_depth).
updates Tensor The tensor contains the value for the indices.

View Source

tf.tensorScatterUpdate(tensor, indices, updates)
Tensor