Home
last modified time | relevance | path

Searched refs:slice_strides_ (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instructions.cc971 slice_strides_(strides.begin(), strides.end()) { in HloSliceInstruction()
976 if (slice_strides_.empty()) { in HloSliceInstruction()
977 slice_strides_ = std::vector<int64>(start_indices.size(), 1LL); in HloSliceInstruction()
987 slice_dimension->set_stride(slice_strides_[i]); in ToProto()
997 absl::c_all_of(slice_strides_, [](int64 stride) { return stride == 1; }); in ExtraAttributesToStringImpl()
999 string stride_str = omit_stride ? "" : StrCat(":", slice_strides_[i]); in ExtraAttributesToStringImpl()
1013 slice_strides_ == other_slice.slice_strides_; in IdenticalSlowPath()
1021 shape, new_operands[0], slice_starts_, slice_limits_, slice_strides_); in CloneWithNewOperandsImpl()
Dhlo_instructions.h628 return slice_strides_[dimension]; in slice_strides()
630 const std::vector<int64>& slice_strides() const { return slice_strides_; } in slice_strides()
647 std::vector<int64> slice_strides_; variable