Home
last modified time | relevance | path

Searched refs:indices_ (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.h71 ShapeIndex(std::initializer_list<int64> init) : indices_(init) {} in ShapeIndex()
73 ShapeIndex(InputIt start, InputIt end) : indices_(start, end) {} in ShapeIndex()
77 bool empty() const { return indices_.empty(); } in empty()
78 size_t size() const { return indices_.size(); } in size()
79 void push_back(int64 value) { indices_.push_back(value); } in push_back()
80 void pop_back() { indices_.pop_back(); } in pop_back()
83 void push_front(int64 value) { indices_.insert(indices_.begin(), value); } in push_front()
87 container_type::const_iterator begin() const { return indices_.begin(); } in begin()
88 container_type::const_iterator end() const { return indices_.end(); } in end()
89 container_type::iterator begin() { return indices_.begin(); } in begin()
[all …]
Dshape_util.cc86 return StrCat("{", absl::StrJoin(indices_, ","), "}"); in ToString()
90 return indices_ == other.indices_; in operator ==()
109 indices_.subspan(0, prefix.size()) == prefix.indices_; in StartsWith()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_reachability.h103 i.v = FindOrDie(indices_, GetKey(instruction)); in GetIndex()
144 return indices_.contains(GetKey(a)); in IsPresent()
226 return FindOrDie(indices_, GetKey(instruction)); in GetIndexInternal()
234 absl::flat_hash_map<uint64, int> indices_; variable
Dhlo_reachability.cc27 indices_[GetKey(hlo)] = bit_vectors_.size(); in HloReachabilityMap()
30 CHECK_EQ(size_, indices_.size()); // instructions should be unique in HloReachabilityMap()
68 indices_[GetKey(replacement)] = GetIndex(original).v; in Replace()
69 indices_.erase(GetKey(original)); in Replace()
Dindexed_array_analysis.h181 Array* indices() const { return indices_; } in indices()
197 indices_(indices), in ScalarIndexedArray()
203 Array* indices_; variable
/external/tensorflow/tensorflow/lite/kernels/perception/
Dmax_unpooling_2d_test.cc39 indices_ = AddInput(indices); in MaxUnpoolingOpModel()
49 BuildInterpreter({GetShape(input_), GetShape(indices_)}); in MaxUnpoolingOpModel()
56 PopulateTensor(indices_, data); in SetIndices()
65 int indices_; member in tflite::ops::custom::__anon2bd9014c0111::MaxUnpoolingOpModel
Dmax_pool_with_argmax_test.cc43 indices_ = AddOutput(indices); in MaxpoolingWithArgMaxOpModel()
59 std::vector<int32_t> GetIndices() { return ExtractVector<int32_t>(indices_); } in GetIndices()
61 std::vector<int> GetIndicesShape() { return GetTensorShape(indices_); } in GetIndicesShape()
66 int indices_; member in tflite::ops::custom::__anon354936f00111::MaxpoolingWithArgMaxOpModel
/external/tensorflow/tensorflow/lite/kernels/
Dembedding_lookup_sparse_test.cc44 indices_ = AddInput(TensorType_INT32); in EmbeddingLookupSparseOpModel()
61 PopulateTensor(indices_, indices_data); in SetInput()
86 int indices_; member in tflite::__anonc8d704f40111::EmbeddingLookupSparseOpModel
Dscatter_nd_test.cc34 indices_ = AddInput(indices); in ScatterNdOpModel()
41 {GetShape(indices_), GetShape(updates_), GetShape(shape_)}); in ScatterNdOpModel()
46 PopulateTensor<T>(indices_, data); in SetIndices()
67 int indices_; member in tflite::__anonb54fb7560111::ScatterNdOpModel
Done_hot_test.cc38 indices_ = AddInput(indices_type); in OneHotOpModel()
54 PopulateTensor<TI>(indices_, data); in SetIndices()
64 int indices_; member in tflite::__anon3d7a871b0111::OneHotOpModel
Dsparse_to_dense_test.cc37 indices_ = AddInput(tensor_index_type); in SparseToDenseOpModel()
51 int indices() { return indices_; } in indices()
59 int indices_; member in tflite::__anon13f7662d0111::SparseToDenseOpModel
Dgather_nd_test.cc37 indices_ = AddInput(indices); in GatherNdOpModel()
41 BuildInterpreter({GetShape(params_), GetShape(indices_)}); in GatherNdOpModel()
51 PopulateTensor<T>(indices_, data); in SetPositions()
63 int indices_; member in tflite::__anon457cb77b0111::GatherNdOpModel
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_temporal_aligner.cc66 : video_(video), indices_(indices) {} in ReorderedVideo()
70 size_t number_of_frames() const override { return indices_.size(); } in number_of_frames()
74 return video_->GetFrame(indices_.at(index)); in GetFrame()
79 const std::vector<size_t> indices_; member in webrtc::test::__anond7f027040111::ReorderedVideo
/external/tensorflow/tensorflow/core/kernels/
Done_hot_op.h43 : indices_(indices), on_value_(on_value), off_value_(off_value) {} in OneGenerator()
47 return (indices_(pre_depth_suff[0], pre_depth_suff[2]) == pre_depth_suff[1]) in operator()
53 const typename TTypes<TI>::ConstMatrix indices_;
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dhlo_execution_profiler.cc109 indices_.erase(index); in FinishHloInstruction()
122 CHECK(indices_.insert(*index).second) << *index; in MakeScopedInstructionProfiler()
Dhlo_execution_profiler.h87 std::unordered_set<size_t> indices_; variable
/external/tensorflow/tensorflow/core/kernels/data/
Dsparse_tensor_slice_dataset_op_test.cc33 indices_(std::move(indices)),
41 return {indices_, values_, dense_shape_}; in GetInputTensors()
61 Tensor indices_; member in tensorflow::data::__anon116fed2d0111::SparseTensorSliceDatasetParams
/external/deqp/framework/opengl/
DgluDrawUtil.hpp174 PrimitiveList (PrimitiveType type_, int numElements_, IndexType indexType_, const void* indices_) in PrimitiveList()
178 , indices (indices_) in PrimitiveList()
/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
DStaticSymmetry.h31 template<typename indices_, int flags_>
34 typedef indices_ indices;