/// <summary> /// Set dimension of inputs, value infos, outputs and potential Reshape ops. /// Default sets leading dimension to dynamic batch size 'N'. /// </summary> public static void SetDim(this GraphProto graph) => graph.SetDim(dimIndex: 0, DimParamOrValue.New("N"));