x = _preprocess_conv3d_input(x, data_format)
kernel = _preprocess_conv3d_kernel(kernel, data_format)
padding = _preprocess_border_mode(padding)
strides = strides + (strides[0],)
x = C.convolution(
kernel,
After Change
kernel = _preprocess_conv3d_kernel(kernel, data_format)
padding = _preprocess_border_mode(padding)
if dev.type() == 0 and dilation_rate != (1, 1, 1):
raise ValueError("Dilated convolution on CPU is not supported by CNTK backend. "
"Please set `dilation_rate` to (1, 1, 1). "
"You passed: %s" % (dilation_rate,))
x = C.convolution(
kernel,