Converts the crops argument into the size of a slice operation. When combined with getSliceBeginCoords this function allows the reshaped and permuted Tensor to be cropped to its final output shape of:
inputShape[1] * blockShape[0] - crops[0,0] - crops[0,1], ..., inputShape[M] * blockShape[M-1] -crops[M-1,0] - crops[M-1,1],inputShape[M+1], ..., inputShape[N-1]]
See step 4: https://www.tensorflow.org/api_docs/python/tf/batch_to_space_nd
Generated using TypeDoc
Converts the crops argument into the size of a slice operation. When combined with getSliceBeginCoords this function allows the reshaped and permuted Tensor to be cropped to its final output shape of:
inputShape[1] * blockShape[0] - crops[0,0] - crops[0,1], ..., inputShape[M] * blockShape[M-1] -crops[M-1,0] - crops[M-1,1],inputShape[M+1], ..., inputShape[N-1]]
See step 4: https://www.tensorflow.org/api_docs/python/tf/batch_to_space_nd