Skip to content

Commit cafd17f

Browse files
junwhanahnGoogle-ML-Automation
authored andcommitted
Define a type alias for tsl::RCReference<Value>
`Value`s aren't used as often as `Array`, but introducing it for consistency with `Array`. PiperOrigin-RevId: 756211070
1 parent 8137c37 commit cafd17f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jaxlib/util.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ absl::Status AwaitBuffersReady(absl::Span<ifrt::Array* const> ifrt_arrays) {
6262
if (ifrt_arrays.size() == 1) {
6363
future = ifrt_arrays[0]->GetReadyFuture();
6464
} else {
65-
std::vector<tsl::RCReference<ifrt::Value>> values;
65+
std::vector<ifrt::ValueRef> values;
6666
values.reserve(ifrt_arrays.size());
6767
for (ifrt::Array* const ifrt_array : ifrt_arrays) {
6868
values.push_back(tsl::FormRef(ifrt_array));

0 commit comments

Comments
 (0)