(
crops: number[][], blockShape: number)
| 123 | * operation. |
| 124 | */ |
| 125 | export function getSliceBeginCoords( |
| 126 | crops: number[][], blockShape: number): number[] { |
| 127 | const sliceBeginCoords = [0]; |
| 128 | for (let i = 0; i < blockShape; ++i) { |
| 129 | sliceBeginCoords.push(crops[i][0]); |
| 130 | } |
| 131 | return sliceBeginCoords; |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * Converts the crops argument into the size of a slice operation. When |
nothing calls this directly
no test coverage detected
searching dependent graphs…