Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 627269986
  • Loading branch information
tensorflower-gardener committed Apr 23, 2024
1 parent 7df313d commit 363294b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tensorflow/core/util/sparse/dim_comparator.h
Expand Up @@ -45,7 +45,7 @@ namespace sparse {
// the values in IX in particular columns (dimensions) of interest.
class DimComparator {
public:
typedef typename gtl::ArraySlice<int64_t> VarDimArray;
typedef absl::Span<const int64_t> VarDimArray;

DimComparator(const TTypes<int64_t>::Matrix& ix, const VarDimArray& order,
const VarDimArray& shape)
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/core/util/sparse/group_iterator.h
Expand Up @@ -76,7 +76,7 @@ class Group {
// Forward declaration of SparseTensor
class GroupIterable {
public:
typedef gtl::ArraySlice<int64_t> VarDimArray;
typedef absl::Span<const int64_t> VarDimArray;

GroupIterable(Tensor ix, Tensor vals, int dims, const VarDimArray& group_dims)
: ix_(ix),
Expand Down Expand Up @@ -132,7 +132,7 @@ class GroupIterable {
const TTypes<int64_t>::ConstMatrix ix_matrix_;
Tensor vals_;
const int dims_;
const gtl::InlinedVector<int64_t, 8> group_dims_;
const absl::InlinedVector<int64_t, 8UL> group_dims_;
};

inline int64_t Group::group_at(size_t index) const {
Expand Down

0 comments on commit 363294b

Please sign in to comment.