scatter_nd

    • scatter_nd(index, updates, shape, name=None)[源代码]
      • index (Variable) - 输入的索引张量,数据类型为非负int32或非负int64。它的维度 index.rank 必须大于1,并且 index.shape[-1] <= len(shape)
      • shape (tuple|list) - 要求输出张量的形状。类型是tuple或者list。
      • name (string) - 该层的名字,默认值为None,表示会自动命名。