9prady9 · GitHub

Conversation

@9prady9

Closed

@9prady9

@9prady9

umar456


if (std::isnan(NRMSD) || NRMSD > tolerance) {
#ifndef NDEBUG
printf("Comparison failed, NRMSD value: %lf\n", NRMSD);
T filterResult = init;
for (size_t oi = 0; oi < offsets.size(); ++oi) {
dim_t x = n + offsets[oi];
if (x >= 0 && x < batchSize)

const dim_t batchSize = dims[0] * dims[1];
const int batchCount = dims[2] * dims[3];
for (int b=0; b<batchCount; ++b) {

getQueue().enqueue(kernel::morph<T, isDilation>, out, inp, mask);

std::vector<af_seq> idxs(4, af_span);

umar456

umar456 previously approved these changes Jul 24, 2018

@9prady9

@9prady9

umar456

umar456 previously approved these changes Jul 24, 2018

@9prady9

@9prady9

@9prady9

@9prady9

@9prady9

9prady9 deleted the morph-optimization branch

July 25, 2018 05:36

Read the original on github.com ↗