60 xcds(std::max(row - 1, 0), std::max(col - 1, 0)) =
true;
61 xcds(std::max(row - 1, 0), col) =
true;
62 xcds(std::max(row - 1, 0), std::min<int32>(col + 1,
inShape.cols - 1)) =
true;
64 xcds(row, std::max<int32>(col - 1, 0)) =
true;
65 xcds(row, std::min<int32>(col + 1,
inShape.cols - 1)) =
true;
67 xcds(std::min<int32>(row + 1,
inShape.rows - 1), std::max(col - 1, 0)) =
true;
68 xcds(std::min<int32>(row + 1,
inShape.rows - 1), col) =
true;
69 xcds(std::min<int32>(row + 1,
inShape.rows - 1), std::min<int32>(col + 1,
inShape.cols - 1)) =