Home
last modified time | relevance | path

Searched refs:rank_ (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dsparse_index_array.cc24 SparseIndexArray::SparseIndexArray() : rank_(0), max_indices_(0) {} in SparseIndexArray()
28 : indices_(std::move(indices)), rank_(rank), max_indices_(max_indices) { in SparseIndexArray()
29 CHECK_GT(rank_, 0); in SparseIndexArray()
30 CHECK_EQ(indices_.size() % rank_, 0) in SparseIndexArray()
31 << "indices_.size(): " << indices_.size() << ", rank_: " << rank_; in SparseIndexArray()
46 CHECK_GT(rank_, 0); in index_count()
47 CHECK_EQ(indices_.size() % rank_, 0); in index_count()
48 return indices_.size() / rank_; in index_count()
53 CHECK_GT(rank_, 0); in At()
55 CHECK_LE(rank_ * sparse_element_number + rank_, indices_.size()); in At()
[all …]
Dsparse_index_array.h95 int64 rank() const { return rank_; } in rank()
122 int64 rank_; variable
/external/tensorflow/tensorflow/compiler/jit/
Dunion_find.h28 UnionFind() : rank_(0), size_(1), parent_(nullptr) {} in UnionFind()
45 int rank_; variable
56 if (a->rank_ > b->rank_) { in Merge()
63 if (a->rank_ == b->rank_) { in Merge()
64 b->rank_++; in Merge()
/external/tensorflow/tensorflow/contrib/periodic_resample/kernels/
Dperiodic_resample_op.h41 rank_(input_shape.dims()), in InputIndexer()
56 index_factors_.resize(rank_); in InputIndexer()
58 for (auto r = rank_ - 1; r >= 0; --r) { in InputIndexer()
94 const int rank_; variable
106 for (auto r = rank_ - 1; r >= 0; --r) { in MoveToOutputIndex()
113 for (int qi = 0; qi < rank_; ++qi) { in MoveToOutputIndex()
121 for (auto r = rank_ - 1; r >= 0; --r) { in MoveToOutputIndex()
128 for (auto r = rank_ - 1; r >= 0; --r) { in MoveToOutputIndex()
135 for (auto r = rank_ - 1; r >= 0; --r) { in IncrementOutputIndex()
192 std::vector<tensorflow::int64> cumulative_dimensions(rank_); in ComputeCumulativeDimensions()
[all …]
/external/tensorflow/tensorflow/contrib/image/kernels/
Dsegmentation_ops.h72 rank_(rank) {} in BlockedImageUnionFindFunctor()
162 OutputType* const rank_; variable
208 const OutputType rank_a = rank_[index_a]; in do_union()
209 const OutputType rank_b = rank_[index_b]; in do_union()
219 rank_[parent]++; in do_union()
/external/tensorflow/tensorflow/core/framework/
Dshape_inference.h89 const int32 rank_; variable
343 if (s->rank_ == kUnknownRank) { in Dim()
350 CHECK_NE(s->rank_, kUnknownRank); in DimKnownRank()
359 return s.IsSet() ? s->rank_ : kUnknownRank; in Rank()
802 inline Shape::Shape() : rank_(InferenceContext::kUnknownRank) {} in Shape()
804 : rank_(dims.size()), dims_(dims) {} in Shape()
/external/tensorflow/tensorflow/lite/kernels/
Dsvdf_test.cc139 rank_(rank) { in BaseSVDFOpModel()
195 int rank_; member in tflite::__anon2a1e039b0111::BaseSVDFOpModel
/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.cc255 if (x_root_member.rank_ < y_root_member.rank_) { in Merge()
264 } else if (x_root_member.rank_ > y_root_member.rank_) { in Merge()
280 ++x_root_member.rank_; in Merge()
Dcolocation_graph.h91 int rank_ = 0; variable
Dring_gatherer_test.cc383 rank_(rank) { in DeviceInstance()
504 int rank_; member in tensorflow::RingGathererTest::DeviceInstance
Dring_reducer_test.cc407 rank_(rank) { in DeviceInstance()
532 int rank_; member in tensorflow::RingReducerTest::DeviceInstance
Dhierarchical_tree_broadcaster_test.cc559 rank_(rank) { in DeviceInstance()
701 int rank_; member in tensorflow::__anonb5878a120111::HierarchicalTreeBroadcasterTest::DeviceInstance
/external/tensorflow/tensorflow/core/kernels/
Dcollective_nccl_reducer_test.cc218 : parent_(parent), device_name_(device_name), rank_(rank) { in DeviceInstance()
307 int rank_; member in tensorflow::NcclReducerTest::DeviceInstance
/external/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher.h832 explicit constexpr ShapePatternRankImpl(int64 rank) : rank_(rank) {}
835 if (shape->rank() != rank_) {
836 if (rank_ == 0) {
839 EXPLAIN << "Shape does not have rank " << rank_;
847 if (rank_ == 0) {
850 *os << "that has " << rank_ << " dimension" << (rank_ != 1 ? "s" : "");
855 int64 rank_;
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc2093 rank_(rank) { in BaseSVDFOpModel()
2153 int rank_; member in tflite::__anon0c68fcb70111::BaseSVDFOpModel