/external/tensorflow/tensorflow/python/kernel_tests/signal/ |
D | fft_ops_test.py | 42 def _compare(self, x, rank, fft_length=None, use_placeholder=False, argument 44 self._compareForward(x, rank, fft_length, use_placeholder, rtol, atol) 45 self._compareBackward(x, rank, fft_length, use_placeholder, rtol, atol) 47 def _compareForward(self, x, rank, fft_length=None, use_placeholder=False, argument 49 x_np = self._npFFT(x, rank, fft_length) 52 x_tf = self._tfFFT(x_ph, rank, fft_length, feed_dict={x_ph: x}) 54 x_tf = self._tfFFT(x, rank, fft_length) 58 def _compareBackward(self, x, rank, fft_length=None, use_placeholder=False, argument 60 x_np = self._npIFFT(x, rank, fft_length) 63 x_tf = self._tfIFFT(x_ph, rank, fft_length, feed_dict={x_ph: x}) [all …]
|
/external/clang/test/Analysis/ |
D | mpichecker.cpp | 6 int rank = 0; in matchedWait1() local 8 MPI_Comm_rank(MPI_COMM_WORLD, &rank); in matchedWait1() 9 if (rank >= 0) { in matchedWait1() 11 MPI_Isend(&buf, 1, MPI_DOUBLE, rank + 1, 0, MPI_COMM_WORLD, &sendReq1); in matchedWait1() 12 MPI_Irecv(&buf, 1, MPI_DOUBLE, rank - 1, 0, MPI_COMM_WORLD, &recvReq1); in matchedWait1() 20 int rank = 0; in matchedWait2() local 22 MPI_Comm_rank(MPI_COMM_WORLD, &rank); in matchedWait2() 23 if (rank >= 0) { in matchedWait2() 25 MPI_Isend(&buf, 1, MPI_DOUBLE, rank + 1, 0, MPI_COMM_WORLD, &sendReq1); in matchedWait2() 26 MPI_Irecv(&buf, 1, MPI_DOUBLE, rank - 1, 0, MPI_COMM_WORLD, &recvReq1); in matchedWait2() [all …]
|
D | MemRegion.cpp | 8 int rank = 0; in testGetDescriptiveName() local 9 MPI_Comm_rank(MPI_COMM_WORLD, &rank); in testGetDescriptiveName() 15 int rank = 0; in testGetDescriptiveName2() local 16 MPI_Comm_rank(MPI_COMM_WORLD, &rank); in testGetDescriptiveName2() 22 int rank = 0; in testGetDescriptiveName3() local 23 MPI_Comm_rank(MPI_COMM_WORLD, &rank); in testGetDescriptiveName3() 31 int rank = 0; in testGetDescriptiveName4() local 32 MPI_Comm_rank(MPI_COMM_WORLD, &rank); in testGetDescriptiveName4() 40 int rank = 0; in testGetDescriptiveName5() local 41 MPI_Comm_rank(MPI_COMM_WORLD, &rank); in testGetDescriptiveName5()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | CorrelatedRandomVectorGenerator.java | 79 private int rank; field in CorrelatedRandomVectorGenerator 111 normalized = new double[rank]; in CorrelatedRandomVectorGenerator() 139 normalized = new double[rank]; in CorrelatedRandomVectorGenerator() 168 return rank; in getRank() 201 rank = 0; in decompose() 205 swap[rank] = rank; in decompose() 206 for (int i = rank + 1; i < order; ++i) { in decompose() 210 swap[rank] = i; in decompose() 216 if (swap[rank] != rank) { in decompose() 217 int tmp = index[rank]; in decompose() [all …]
|
/external/tensorflow/tensorflow/core/nccl/ |
D | nccl_manager_test.cc | 193 for (int rank = 0; rank < test_case->outs.size(); ++rank) { in VerifyResults() local 194 auto* device = GetDevice(rank); in VerifyResults() 196 const Tensor& out_gpu = test_case->outs[rank]; in VerifyResults() 202 VLOG(1) << "Verifying rank " << rank << " expected shape " in VerifyResults() 223 static BaseGPUDevice* GetDevice(size_t rank) { in GetDevice() argument 224 return devices_->at(rank % devices_->size()).get(); in GetDevice() 267 for (int rank = 0; rank < num_ranks; ++rank) { in TYPED_TEST() local 268 auto* device = this->GetDevice(rank); in TYPED_TEST() 269 VLOG(2) << "rank " << rank << " device " << device->name(); in TYPED_TEST() 274 &test_case->ins[rank], &test_case->outs[rank], /*global_rank=*/-1, in TYPED_TEST() [all …]
|
/external/eigen/Eigen/src/QR/ |
D | CompleteOrthogonalDecomposition.h | 233 inline Index rank() const { return m_cpqr.rank(); } 417 const Index rank = m_cpqr.rank(); 423 if (rank < cols) { 435 for (Index k = rank - 1; k >= 0; --k) { 436 if (k != rank - 1) { 441 m_cpqr.m_qr.col(rank - 1).head(k + 1)); 448 .tail(cols - rank + 1) 450 m_cpqr.m_qr(k, rank - 1) = beta; 453 m_cpqr.m_qr.topRightCorner(k, cols - rank + 1) 455 m_cpqr.m_qr.row(k).tail(cols - rank).transpose(), m_zCoeffs(k), [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_shape.py | 166 if shape.rank is None: 757 if self.rank is None: 759 elif self.rank == 1: 771 def rank(self): member in TensorShape 789 return self.rank 857 return unknown_shape(rank=stop - start) 937 if self.rank is not None and other.rank is not None: 938 if self.rank != other.rank: 942 def assert_has_rank(self, rank): argument 951 if self.rank not in (None, rank): [all …]
|
/external/u-boot/arch/x86/cpu/quark/ |
D | mrc_util.c | 126 void training_message(uint8_t channel, uint8_t rank, uint8_t byte_lane) in training_message() argument 129 DPF(D_INFO, "CH%01X RK%01X BL%01X\n", channel, rank, byte_lane); in training_message() 137 void set_rcvn(uint8_t channel, uint8_t rank, in set_rcvn() argument 147 channel, rank, byte_lane, pi_count); in set_rcvn() 200 training_message(channel, rank, byte_lane); in set_rcvn() 213 uint32_t get_rcvn(uint8_t channel, uint8_t rank, uint8_t byte_lane) in get_rcvn() argument 261 void set_rdqs(uint8_t channel, uint8_t rank, in set_rdqs() argument 270 channel, rank, byte_lane, pi_count); in set_rdqs() 286 training_message(channel, rank, byte_lane); in set_rdqs() 299 uint32_t get_rdqs(uint8_t channel, uint8_t rank, uint8_t byte_lane) in get_rdqs() argument [all …]
|
D | mrc_util.h | 83 void training_message(uint8_t channel, uint8_t rank, uint8_t byte_lane); 85 void set_rcvn(uint8_t channel, uint8_t rank, 87 uint32_t get_rcvn(uint8_t channel, uint8_t rank, uint8_t byte_lane); 88 void set_rdqs(uint8_t channel, uint8_t rank, 90 uint32_t get_rdqs(uint8_t channel, uint8_t rank, uint8_t byte_lane); 91 void set_wdqs(uint8_t channel, uint8_t rank, 93 uint32_t get_wdqs(uint8_t channel, uint8_t rank, uint8_t byte_lane); 94 void set_wdq(uint8_t channel, uint8_t rank, 96 uint32_t get_wdq(uint8_t channel, uint8_t rank, uint8_t byte_lane); 99 void set_wclk(uint8_t channel, uint8_t rank, uint32_t pi_count); [all …]
|
/external/tensorflow/tensorflow/contrib/mpi_collectives/ |
D | mpi_ops_test.py | 56 rank = os.environ.get(rank_var) 58 if rank is not None and size is not None: 59 return int(rank), int(size) 74 rank = session.run(mpi.rank()) 75 self.assertEqual(true_rank, rank) 161 rank = session.run(mpi.rank()) 170 dims = [17 + rank] * 3 177 if rank == 0: 189 rank = session.run(mpi.rank()) 198 tensor = tf.ones(dims, dtype=tf.int32 if rank % 2 == 0 else tf.float32) [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | collective_nccl_reducer_test.cc | 100 for (int rank = 0; rank < num_ranks; ++rank) { in Init() local 101 if (rank < gpus_.size()) { in Init() 102 local_devices.emplace_back(std::move(gpus_[rank])); in Init() 128 for (int rank = 0; rank < num_ranks; ++rank) { in Init() local 130 device_names[rank % num_gpus]); in Init() 133 for (int rank = 0; rank < num_ranks; ++rank) { in Init() local 135 rank, col_params_.instance.device_names[rank], this)); in Init() 160 for (int rank = 0; rank < num_ranks; ++rank) { in RunTest() local 161 DeviceInstance* instance = instances_[rank].get(); in RunTest() 163 [&expected, rank](Tensor* t) { in RunTest() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | move_to_front_test.cpp | 466 uint32_t rank = 0; in TEST() local 467 EXPECT_FALSE(mtf.RankFromValue(1, &rank)); in TEST() 481 EXPECT_FALSE(mtf.RankFromValue(4, &rank)); in TEST() 483 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 484 EXPECT_EQ(3u, rank); in TEST() 494 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 495 EXPECT_EQ(1u, rank); in TEST() 497 EXPECT_TRUE(mtf.RankFromValue(3, &rank)); in TEST() 498 EXPECT_EQ(2u, rank); in TEST() 500 EXPECT_TRUE(mtf.RankFromValue(2, &rank)); in TEST() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | move_to_front_test.cpp | 466 uint32_t rank = 0; in TEST() local 467 EXPECT_FALSE(mtf.RankFromValue(1, &rank)); in TEST() 481 EXPECT_FALSE(mtf.RankFromValue(4, &rank)); in TEST() 483 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 484 EXPECT_EQ(3u, rank); in TEST() 494 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 495 EXPECT_EQ(1u, rank); in TEST() 497 EXPECT_TRUE(mtf.RankFromValue(3, &rank)); in TEST() 498 EXPECT_EQ(2u, rank); in TEST() 500 EXPECT_TRUE(mtf.RankFromValue(2, &rank)); in TEST() [all …]
|
/external/eigen/test/ |
D | qr_colpivoting.cpp | 22 Index rank = internal::random<Index>(1, (std::min)(rows, cols) - 1); in cod() local 29 createRandomPIMatrixOfRank(rank, rows, cols, matrix); in cod() 31 VERIFY(rank == cod.rank()); in cod() 32 VERIFY(cols - cod.rank() == cod.dimensionOfKernel()); in cod() 45 t.topLeftCorner(rank, rank) = in cod() 46 cod.matrixT().topLeftCorner(rank, rank).template triangularView<Upper>(); in cod() 72 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols)) - 1); in cod_fixedsize() local 74 createRandomPIMatrixOfRank(rank, Rows, Cols, matrix); in cod_fixedsize() 76 VERIFY(rank == cod.rank()); in cod_fixedsize() 77 VERIFY(Cols - cod.rank() == cod.dimensionOfKernel()); in cod_fixedsize() [all …]
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | witness.h | 68 # define WITNESS_INITIALIZER(name, rank) {name, rank, NULL, NULL, {NULL, NULL}} argument 70 # define WITNESS_INITIALIZER(name, rank) argument 87 witness_rank_t rank; member 142 void witness_init(witness_t *witness, const char *name, witness_rank_t rank, 193 if (witness->rank == WITNESS_RANK_OMIT) { in witness_assert_owner() 218 if (witness->rank == WITNESS_RANK_OMIT) { in witness_assert_not_owner() 252 if (w->rank < rank_inclusive) { in witness_assert_depth_to_rank() 287 if (witness->rank == WITNESS_RANK_OMIT) { in witness_lock() 297 } else if (witness_tsd->forking && w->rank <= witness->rank) { in witness_lock() 299 } else if (w->rank > witness->rank) { in witness_lock() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | shape_util.cc | 42 layouts->insert(layouts->end(), shape.rank(), -1); in PopulateInfeedLayoutVector() 95 for (int i = 0; i < shape.rank(); ++i) { in XLAShapeToTensorShape() 112 int rank = tensor_shape.dims(); in TensorShapeToXLAShape() local 113 std::vector<int64> dimensions(rank); in TensorShapeToXLAShape() 114 std::vector<int64> layout(rank); in TensorShapeToXLAShape() 115 for (int d = 0; d < rank; ++d) { in TensorShapeToXLAShape() 147 int64 rank = shape.rank(); in GetShapeWithLayout() local 148 if (position + rank > minor_to_major.size()) { in GetShapeWithLayout() 151 " rank=", rank, " elements=", minor_to_major.size()); in GetShapeWithLayout() 155 absl::Span<const int64>(minor_to_major).subspan(position, rank), in GetShapeWithLayout() [all …]
|
/external/jemalloc/include/jemalloc/internal/ |
D | witness.h | 42 #define WITNESS_INITIALIZER(rank) {"initializer", rank, NULL, {NULL, NULL}} argument 56 witness_rank_t rank; member 73 void witness_init(witness_t *witness, const char *name, witness_rank_t rank, 147 if (witness->rank == WITNESS_RANK_OMIT) in witness_assert_owner() 168 if (witness->rank == WITNESS_RANK_OMIT) in witness_assert_not_owner() 211 if (witness->rank == WITNESS_RANK_OMIT) in witness_lock() 220 } else if (tsd_witness_fork_get(tsd) && w->rank <= witness->rank) { in witness_lock() 222 } else if (w->rank > witness->rank) { in witness_lock() 225 } else if (w->rank == witness->rank && (w->comp == NULL || w->comp != in witness_lock() 250 if (witness->rank == WITNESS_RANK_OMIT) in witness_unlock()
|
/external/v8/tools/ |
D | eval_gc_time.sh | 24 OP=old-gen-rank 35 -r|--rank) 37 new-gen-rank|old-gen-rank) 142 new-gen-rank) 146 --rank $RANK_MODE \ 151 old-gen-rank) 155 --rank $RANK_MODE \
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | shape_inference.cc | 99 if (element_shape->rank() != 0) { in VerifyReducerShape() 163 if (window.dimensions_size() != base_shape.rank()) { in InferWindowOutputShape() 166 window.dimensions_size(), base_shape.rank()); in InferWindowOutputShape() 353 if (dimension < 0 || dimension >= arg_shapes[0]->rank()) { in InferConcatOpShape() 366 if (arg_shape->rank() != shape->rank()) { in InferConcatOpShape() 370 arg_shape->rank(), ShapeUtil::HumanString(*arg_shape), shape->rank(), in InferConcatOpShape() 379 for (int64 dimension_number = 0; dimension_number < arg_shape->rank(); in InferConcatOpShape() 495 if (operand_shape.rank() != padding_config.dimensions_size()) { in InferPadShape() 519 std::vector<int64> dimensions(operand_shape.rank()); in InferPadShape() 520 std::vector<bool> is_dynamic(operand_shape.rank()); in InferPadShape() [all …]
|
/external/tensorflow/tensorflow/core/ops/ |
D | tpu_cross_replica_ops.cc | 35 int64 rank; in __anonb72bce3d0102() local 37 rank = c->Rank(input); in __anonb72bce3d0102() 46 if (concat_dimension < 0 || concat_dimension >= rank) { in __anonb72bce3d0102() 48 " is out of range of input rank ", rank); in __anonb72bce3d0102() 52 if (split_dimension < 0 || split_dimension >= rank) { in __anonb72bce3d0102() 54 " is out of range of input rank ", rank); in __anonb72bce3d0102() 58 dims.resize(rank); in __anonb72bce3d0102() 60 for (int32 i = 0; i < rank; ++i) { in __anonb72bce3d0102()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | CaptureHolder.java | 102 public synchronized int captureState(int rank) { in captureState() argument 112 mCaptureThread.updateRank(rank); in captureState() 125 CapturedState cs = new CapturedState(fileNameBase, timeFromTestStartMS, rank); in captureState() 177 if (mCapturedStates[i].rank < leastInteresting.rank) { in getIndexOfLeastInterestingCapture() 196 public int rank; field in CaptureHolder.CapturedState 198 public CapturedState(String fileNameBase, long timeFromStartOfTestMS, int rank) { in CapturedState() argument 201 this.rank = rank; in CapturedState() 206 return "CapturedState { fileName:" + fileNameBase + ", Rank:" + rank + "}"; in toString() 313 public synchronized void updateRank(int rank) { in updateRank() argument 314 mNewCapturedState.rank = Math.max(mNewCapturedState.rank, rank); in updateRank()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ExplicitOrdering.java | 40 return rank(left) - rank(right); // safe because both are nonnegative in compare() 43 private int rank(T value) { in rank() method in ExplicitOrdering 44 Integer rank = rankMap.get(value); in rank() local 45 if (rank == null) { in rank() 48 return rank; in rank() 54 int rank = 0; in buildRankMap() local 56 builder.put(value, rank++); in buildRankMap()
|
/external/tensorflow/tensorflow/core/framework/ |
D | shape_inference.cc | 312 const auto rank = Rank(s); in NumElements() local 313 if (rank == kUnknownRank) return UnknownDim(); in NumElements() 316 for (int i = 0; i < rank; ++i) { in NumElements() 366 Status InferenceContext::WithRank(ShapeHandle shape, int64 rank, in WithRank() argument 368 if (rank > kint32max) { in WithRank() 372 if (existing == rank) { in WithRank() 378 dims.reserve(rank); in WithRank() 379 for (int i = 0; i < rank; ++i) { in WithRank() 387 return errors::InvalidArgument("Shape must be rank ", rank, " but is rank ", in WithRank() 391 Status InferenceContext::WithRankAtLeast(ShapeHandle shape, int64 rank, in WithRankAtLeast() argument [all …]
|
/external/tensorflow/tensorflow/compiler/jit/graphcycles/ |
D | graphcycles.cc | 55 int32 rank; // rank number assigned by Pearce-Kelly algorithm member 93 if (!ranks.insert(nx->rank).second) { in CheckInvariants() 94 LOG(FATAL) << "Duplicate occurrence of rank " << nx->rank; in CheckInvariants() 98 if (nx->rank >= ny->rank) { in CheckInvariants() 100 << nx->rank << "->" << ny->rank; in CheckInvariants() 112 n->rank = rep_->nodes_.size(); in NewNode() 114 return n->rank; in NewNode() 176 if (nx->rank <= ny->rank) { in InsertEdge() 183 if (!ForwardDFS(r, y, nx->rank)) { in InsertEdge() 192 BackwardDFS(r, x, ny->rank); in InsertEdge() [all …]
|
/external/jemalloc_new/src/ |
D | witness.c | 9 witness_init(witness_t *witness, const char *name, witness_rank_t rank, in witness_init() argument 12 witness->rank = rank; in witness_init() 24 malloc_printf(" %s(%u)", w->name, w->rank); in witness_lock_error_impl() 26 malloc_printf(" %s(%u)\n", witness->name, witness->rank); in witness_lock_error_impl() 34 witness->rank); in witness_owner_error_impl() 43 witness->rank); in witness_not_owner_error_impl() 57 malloc_printf(" %s(%u)", w->name, w->rank); in witness_depth_error_impl()
|