Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
roywei committed May 14, 2019
1 parent 518b604 commit 52f35a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/tensor/dot-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ inline bool BatchDotShape(const nnvm::NodeAttrs& attrs,
// only partially infer shape if last dim of lhs and second dim of rhs is known
bool last_dim_known = dim_size_is_known(lshape, 2);
bool second_dim_known = dim_size_is_known(rshape, 1);
if ( !last_dim_known || !second_dim_known) return false;
if ( !last_dim_known || !second_dim_known) return false;
CHECK(lshape[0] == rshape[0])
<< "batch_dot shape error(batch_size must be equal): " << lshape << " X " << rshape
<< " trans_a=" << param.transpose_a << " trans_b=" << param.transpose_b;
Expand Down

0 comments on commit 52f35a6

Please sign in to comment.