Update comment based on feedback
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
28e034bd29
commit
a02c524cb3
@ -88,7 +88,7 @@ class SparseDenseBinaryOpShared : public OpKernel {
|
||||
const auto rhs_dims = BCast::FromShape(dense_t->shape());
|
||||
BCast b(lhs_dims, rhs_dims, false); // false for keeping the same num dims.
|
||||
|
||||
// True iff (size(lhs) >= size(rhs)) and all dims in lhs is smaller or equal
|
||||
// True iff (size(lhs) >= size(rhs)) and all dims in lhs is greater or equal
|
||||
// to dims in rhs (from right to left).
|
||||
auto VecGreaterEq = [](ArraySlice<int64> lhs, ArraySlice<int64> rhs) {
|
||||
if (lhs.size() < rhs.size()) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user