Skip to content

Commit

Permalink
fix CI APPROVAL problem
Browse files Browse the repository at this point in the history
  • Loading branch information
thisjiang committed Sep 23, 2021
1 parent 45351bd commit 0220311
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions paddle/fluid/operators/determinant_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ class EigenMatrix<double> {
inline int64_t GetBatchCount(const framework::DDim dims) {
int64_t batch_count = 1;
auto dim_size = dims.size();
PADDLE_ENFORCE_GE(dim_size, 2,
platform::errors::InvalidArgument(
"To get the number of batch square matrices, "
"the size of dimension should greater than 2."));
PADDLE_ENFORCE_GE(
dim_size, 2,
platform::errors::InvalidArgument(
"the input matrix dimension size should greater than 2."));

// Cumulative multiplying each dimension until the last 2 to get the batch
// count,
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/fluid/tests/unittests/test_determinant_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import unittest
import numpy as np
from op_test import OpTest, skip_check_grad_ci
from op_test import OpTest
import paddle
import paddle.nn.functional as F
import paddle.fluid as fluid
Expand Down

0 comments on commit 0220311

Please sign in to comment.