tensorflow::ops::ScatterNdAdd

tensorflow::ops::ScatterNdAdd

#include <state_ops.h>

Applies sparse addition between updates and individual values or slices.

Summary

within a given variable according to indices.

ref is a Tensor with rank P and indices is a Tensor of rank Q.

indices must be integer tensor, containing indices into ref. It must be shape [d_0, ..., d_{Q-2}, K] where 0 < K <= P.

The innermost dimension of indices (with length K) corresponds to indices into elements (if K = P) or slices (if K < P) along the K登录查看完整内容