Searched refs:IsRank2 (Results 1 – 2 of 2) sorted by relevance
41 bool IsRank2(const Shape& shape, int64 batch_dimensions_size) { in IsRank2() function58 return type_is_allowed && IsRank2(lhs_shape, batch_dimensions_size) && in AreValidGemmShapes()59 IsRank2(rhs_shape, batch_dimensions_size) && in AreValidGemmShapes()60 IsRank2(output_shape, batch_dimensions_size) && in AreValidGemmShapes()
743 bool IsRank2(const Shape& shape) { return shape.rank() == 2; } in IsRank2() function765 return IsRank2(lhs_shape) && IsRank2(rhs_shape) && IsRank2(output_shape); in AreGemmShapes()