Fix clang-format issues.
This commit is contained in:
parent
950fac03a3
commit
b47c1aafac
@ -196,8 +196,7 @@ class MklDnnConvUtil {
|
|||||||
filter_shape.DebugString()));
|
filter_shape.DebugString()));
|
||||||
|
|
||||||
for (int i = 0; i < ((strides_.size() == 4) ? 3 : 5); i++) {
|
for (int i = 0; i < ((strides_.size() == 4) ? 3 : 5); i++) {
|
||||||
OP_REQUIRES(context_,
|
OP_REQUIRES(context_, FastBoundsCheck(filter_shape.dim_size(i),
|
||||||
FastBoundsCheck(filter_shape.dim_size(i),
|
|
||||||
std::numeric_limits<int>::max()),
|
std::numeric_limits<int>::max()),
|
||||||
errors::InvalidArgument("filter too large"));
|
errors::InvalidArgument("filter too large"));
|
||||||
}
|
}
|
||||||
@ -413,12 +412,14 @@ class MklDnnConvUtil {
|
|||||||
} else {
|
} else {
|
||||||
OP_REQUIRES_OK(context_, GetWindowedOutputSizeVerboseV2(
|
OP_REQUIRES_OK(context_, GetWindowedOutputSizeVerboseV2(
|
||||||
input_planes, filter_planes, dilation_planes,
|
input_planes, filter_planes, dilation_planes,
|
||||||
stride_planes, padding_, &out_planes, &pad_D1,
|
stride_planes, padding_, &out_planes,
|
||||||
&pad_D2));
|
&pad_D1, &pad_D2));
|
||||||
OP_REQUIRES_OK(context_, GetWindowedOutputSizeVerboseV2(
|
OP_REQUIRES_OK(context_,
|
||||||
|
GetWindowedOutputSizeVerboseV2(
|
||||||
input_rows, filter_rows, dilation_rows, stride_rows,
|
input_rows, filter_rows, dilation_rows, stride_rows,
|
||||||
padding_, &out_rows, &pad_top, &pad_bottom));
|
padding_, &out_rows, &pad_top, &pad_bottom));
|
||||||
OP_REQUIRES_OK(context_, GetWindowedOutputSizeVerboseV2(
|
OP_REQUIRES_OK(context_,
|
||||||
|
GetWindowedOutputSizeVerboseV2(
|
||||||
input_cols, filter_cols, dilation_cols, stride_cols,
|
input_cols, filter_cols, dilation_cols, stride_cols,
|
||||||
padding_, &out_cols, &pad_left, &pad_right));
|
padding_, &out_cols, &pad_left, &pad_right));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user