ScatterNdV2

Input

indices:

  • Required: yes
  • Type: int32, int64
  • Description: indices
  • Restriction: NCHW, indices_c == 3 (The coordinate dimension is three.)

updates:

  • Required: yes
  • Type: float16, float32
  • Description: tensors used for indexing
  • Restriction: NCHW, update_h * update_w - 1 <= 65535, update_5c <= 61184 (the number of data channels is rounded up to a multiple of 16 and must be fewer than 61184), update_c== dst_c (the updated value of a channel must be the same as the final output channel value). update_n == indices_n, update_h * update_w == indice_h *indice_w

Attribute

reshape_n:
  • Required: yes
  • Type: int
  • Description: value of channel n
reshape_c:
  • Required: yes
  • Type: int
  • Description: value of channel c
  • Restriction: reshape_c==dst_c
reshape_h:
  • Required: yes
  • Type: int
  • Description: value of channel h
  • Restriction: reshape_h==dst_h
reshape_w:
  • Required: yes
  • Type: int
  • Description: value of channel w
  • Restriction: reshape_w==dst_w

Output

output:

  • Required: yes
  • Type: float16, float32
  • Description: output tensors after indexing
  • Restriction: NCHW, dst_h <= 2048 and dst_w <= 2048