/// <summary> /// Given an element dimensions indices [N,H,W,C] with broadcast support, return this element offset in memory. /// </summary> public int IndexWithBroadcast(int b, int h, int w, int ch) { return(shape.IndexWithBroadcast(b, h, w, ch)); }