/external/aac/libFDK/include/ |
D | FDK_matrixCalloc.h | 111 void* fdkCallocMatrix1D(UINT dim1, UINT size); 112 void* fdkCallocMatrix1D_aligned(UINT dim1, UINT size); 115 void* fdkCallocMatrix1D_int(UINT dim1, UINT size, MEMORY_SECTION s); 116 void* fdkCallocMatrix1D_int_aligned(UINT dim1, UINT size, MEMORY_SECTION s); 123 void** fdkCallocMatrix2D(UINT dim1, UINT dim2, UINT size); 124 void** fdkCallocMatrix2D_aligned(UINT dim1, UINT dim2, UINT size); 127 void** fdkCallocMatrix2D_int(UINT dim1, UINT dim2, UINT size, MEMORY_SECTION s); 130 void** fdkCallocMatrix2D_int_aligned(UINT dim1, UINT dim2, UINT size, 140 void*** fdkCallocMatrix3D(UINT dim1, UINT dim2, UINT dim3, UINT size); 143 void*** fdkCallocMatrix3D_int(UINT dim1, UINT dim2, UINT dim3, UINT size, [all …]
|
/external/aac/libFDK/src/ |
D | FDK_matrixCalloc.cpp | 107 void *fdkCallocMatrix1D_aligned(UINT dim1, UINT size) { in fdkCallocMatrix1D_aligned() argument 108 return FDKaalloc(dim1 * size, ALIGNMENT_DEFAULT); in fdkCallocMatrix1D_aligned() 131 void *fdkCallocMatrix1D(UINT dim1, UINT size) { return FDKcalloc(dim1, size); } in fdkCallocMatrix1D() argument 134 void **fdkCallocMatrix2D(UINT dim1, UINT dim2, UINT size) { in fdkCallocMatrix2D() argument 138 if (!dim1 || !dim2) return NULL; in fdkCallocMatrix2D() 139 if ((p1 = (void **)fdkCallocMatrix1D(dim1, sizeof(void *))) == NULL) { in fdkCallocMatrix2D() 142 if ((p2 = (char *)fdkCallocMatrix1D(dim1 * dim2, size)) == NULL) { in fdkCallocMatrix2D() 147 for (i = 0; i < dim1; i++) { in fdkCallocMatrix2D() 155 void **fdkCallocMatrix2D_aligned(UINT dim1, UINT dim2, UINT size) { in fdkCallocMatrix2D_aligned() argument 159 if (!dim1 || !dim2) return NULL; in fdkCallocMatrix2D_aligned() [all …]
|
D | nlc_dec.cpp | 309 const INT dim1, SCHAR* out_data, const INT num_val, in huff_dec_1D() argument 325 nodeTab = (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h1D[dim1]->nodeTab[0][0]; in huff_dec_1D() 329 nodeTab = (HANDLE_HUFF_NODE)&FDK_huffICCNodes.h1D[dim1]->nodeTab[0][0]; in huff_dec_1D() 333 nodeTab = (HANDLE_HUFF_NODE)&huffOLDNodes.h1D[dim1]->nodeTab[0][0]; in huff_dec_1D() 337 nodeTab = (HANDLE_HUFF_NODE)&FDK_huffIPDNodes.h1D[dim1].nodeTab[0][0]; in huff_dec_1D() 389 const INT dim1, const INT dim2, SCHAR out_data[][2], in huff_dec_2D() argument 455 (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h2D[dim1][dim2]->lav3[0][0]; in huff_dec_2D() 459 (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h2D[dim1][dim2]->lav5[0][0]; in huff_dec_2D() 463 (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h2D[dim1][dim2]->lav7[0][0]; in huff_dec_2D() 467 (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h2D[dim1][dim2]->lav9[0][0]; in huff_dec_2D() [all …]
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_ifft.cpp | 40 static void test_2D_fft_ifft_invariant(int dim0, int dim1) { in test_2D_fft_ifft_invariant() argument 41 Tensor<double, 2, DataLayout> tensor(dim0, dim1); in test_2D_fft_ifft_invariant() 55 VERIFY_IS_EQUAL(tensor_after_fft.dimension(1), dim1); in test_2D_fft_ifft_invariant() 57 VERIFY_IS_EQUAL(tensor_after_fft_ifft.dimension(1), dim1); in test_2D_fft_ifft_invariant() 60 for (int j = 0; j < dim1; ++j) { in test_2D_fft_ifft_invariant() 68 static void test_3D_fft_ifft_invariant(int dim0, int dim1, int dim2) { in test_3D_fft_ifft_invariant() argument 69 Tensor<double, 3, DataLayout> tensor(dim0, dim1, dim2); in test_3D_fft_ifft_invariant() 84 VERIFY_IS_EQUAL(tensor_after_fft.dimension(1), dim1); in test_3D_fft_ifft_invariant() 87 VERIFY_IS_EQUAL(tensor_after_fft_ifft.dimension(1), dim1); in test_3D_fft_ifft_invariant() 91 for (int j = 0; j < dim1; ++j) { in test_3D_fft_ifft_invariant() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | split_v_op_test.cc | 93 #define BM_SPLITV_2D(split_dim, num_split, dim0, dim1) \ argument 94 static void BM_SplitV_2d_##split_dim##_##num_split##dim0##dim1( \ 96 std::vector<int64_t> total_size_vec{dim0, dim1}; \ 98 num_split, split_dim, dim0, dim1); \ 103 {dim0, dim1}); \ 106 dim1); \ 108 BENCHMARK(BM_SplitV_2d_##split_dim##_##num_split##dim0##dim1)->UseRealTime(); 110 #define BM_SPLITV_3D(split_dim, num_split, dim0, dim1, dim2) \ argument 111 static void BM_SplitV_3d_##split_dim##_##num_split##dim0##dim1##dim2( \ 113 std::vector<int64_t> total_size_vec{dim0, dim1, dim2}; \ [all …]
|
D | broadcast_to_op_test.cc | 27 static Graph* BroadcastTo(int dim0, int dim1, InputShape input_shape) { in BroadcastTo() argument 30 Tensor input(DT_FLOAT, input_shape(dim0, dim1)); in BroadcastTo() 35 shape.flat<int32>()(1) = dim1; in BroadcastTo() 52 [](int dim0, int dim1) { \ 67 [](int dim0, int dim1) { \ 68 return TensorShape({1, dim1}); \
|
D | fingerprint_op.cc | 94 int64_t dim1; in Compute() local 96 dim1 = 0; in Compute() 98 dim1 = input.shape().num_elements() / dim0; in Compute() 107 if (dim1 > 1) { in Compute() 120 {dim0, dim1 * kFingerprintSize}), in Compute() 129 {dim0, dim1 * DataTypeSize(input.dtype())}); in Compute()
|
D | concat_lib_cpu.cc | 69 const auto dim1 = input->dimension(1); in EstimateBytesPerElement() local 71 if (dim0 > 0 && dim1 > 0) { in EstimateBytesPerElement() 82 for (auto j : {zero, dim1 / 2, dim1 - 1}) { in EstimateBytesPerElement()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | transpose_utils_test.cc | 364 int dim0, dim1; in TEST() local 366 params, input_shape, &dim0, &dim1); in TEST() 370 EXPECT_EQ(dim1, 5); in TEST() 382 int dim0, dim1; in TEST() local 384 params, input_shape, &dim0, &dim1); in TEST() 388 EXPECT_EQ(dim1, 30); in TEST() 400 int dim0, dim1; in TEST() local 402 params, input_shape, &dim0, &dim1); in TEST() 406 EXPECT_EQ(dim1, 6); in TEST() 418 int dim0, dim1; in TEST() local [all …]
|
D | transpose_utils.cc | 22 int* dim1) { in IsTranspose2DApplicable() argument 27 *dim1 = input_shape.Dims(1); in IsTranspose2DApplicable() 42 *dim1 = 1; in IsTranspose2DApplicable() 47 *dim1 *= input_shape.Dims(i); in IsTranspose2DApplicable()
|
/external/ply/ply/example/BASIC/ |
D | basinterp.py | 91 var, dim1, dim2 = expr[1] 92 if not dim1 and not dim2: 100 if dim1 and not dim2: 103 return self.functions[var](dim1) 107 dim1val = self.eval(dim1) 113 if dim1 and dim2: 115 dim1val = self.eval(dim1) 169 var, dim1, dim2 = target 170 if not dim1 and not dim2: 172 elif dim1 and not dim2: [all …]
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/tests/Dialect/gml_st/ |
D | legacy_peeling.mlir | 11 // CHECK-TILE-2: %[[dim1:.*]] = tensor.dim %[[input]], %[[c1]] 16 // CHECK-TILE-2-SAME: to (%[[dim0]], %[[dim1]], %[[split_bound]]) 27 // CHECK-TILE-2-SAME: to (%[[dim0]], %[[dim1]], %[[dim2]]) 73 // CHECK-TILE-012-SKIP-PARTIAL-DAG: %[[dim1:.*]] = tensor.dim %[[input]], %[[c1]] 76 // CHECK-TILE-012-SKIP-PARTIAL: %[[p1:.*]] = affine.apply #{{.*}}()[%[[dim1]] 80 …SKIP-PARTIAL: gml_st.loop {{.*}} = (%[[c0]], %[[p1]], %[[c0]]) to (%[[p0]], %[[dim1]], %[[dim2]]) 81 …IP-PARTIAL: gml_st.loop {{.*}} = (%[[p0]], %[[c0]], %[[c0]]) to (%[[dim0]], %[[dim1]], %[[dim2]]) 90 %dim1 = tensor.dim %arg0, %c1 : tensor<?x?x?xf32> 92 %output = linalg.init_tensor [%dim0, %dim1, %dim2] : tensor<?x?x?xf32> 94 (%arg1, %arg2, %arg3) = (%c0, %c0, %c0) to (%dim0, %dim1, %dim2) [all …]
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | codegen_test_h.golden | 131 float& arg0(size_t dim0, size_t dim1) { 133 arg_data(0)))[dim0][dim1]; 138 const float& arg0(size_t dim0, size_t dim1) const { 140 arg_data(0)))[dim0][dim1]; 155 float& arg_myfeed(size_t dim0, size_t dim1) { 157 arg_data(0)))[dim0][dim1]; 162 const float& arg_myfeed(size_t dim0, size_t dim1) const { 164 arg_data(0)))[dim0][dim1]; 179 int64_t& arg1(size_t dim0, size_t dim1) { 181 arg_data(1)))[dim0][dim1]; [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | Tensor.h | 348 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit Tensor(Index dim1) in Tensor() argument 349 : m_storage(dim1, array<Index, 1>(dim1)) in Tensor() 353 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor(Index dim1, Index dim2) in Tensor() argument 354 : m_storage(dim1*dim2, array<Index, 2>(dim1, dim2)) in Tensor() 358 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor(Index dim1, Index dim2, Index dim3) in Tensor() argument 359 : m_storage(dim1*dim2*dim3, array<Index, 3>(dim1, dim2, dim3)) in Tensor() 363 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor(Index dim1, Index dim2, Index dim3, Index dim4) in Tensor() argument 364 : m_storage(dim1*dim2*dim3*dim4, array<Index, 4>(dim1, dim2, dim3, dim4)) in Tensor() 368 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor(Index dim1, Index dim2, Index dim3, Index dim4, Index… in Tensor() argument 369 : m_storage(dim1*dim2*dim3*dim4*dim5, array<Index, 5>(dim1, dim2, dim3, dim4, dim5)) in Tensor()
|
D | TensorMap.h | 98 …LINE TensorMap(StoragePointerType dataPtr, Index dim1, Index dim2) : m_data(dataPtr), m_dimensions… in TensorMap() argument 102 …ensorMap(StoragePointerType dataPtr, Index dim1, Index dim2, Index dim3) : m_data(dataPtr), m_dime… in TensorMap() argument 106 …ap(StoragePointerType dataPtr, Index dim1, Index dim2, Index dim3, Index dim4) : m_data(dataPtr), … in TensorMap() argument 110 …ragePointerType dataPtr, Index dim1, Index dim2, Index dim3, Index dim4, Index dim5) : m_data(data… in TensorMap() argument
|
/external/armnn/src/armnn/layers/ |
D | LogicalBinaryLayer.cpp | 47 unsigned int dim1 = input1[i]; in InferOutputShapes() local 49 ARMNN_ASSERT_MSG(dim0 == dim1 || dim0 == 1 || dim1 == 1, in InferOutputShapes() 52 dims[i] = std::max(dim0, dim1); in InferOutputShapes()
|
D | ElementwiseBaseLayer.cpp | 43 unsigned int dim1 = input1[i - shiftedDims]; in InferOutputShapes() local 46 ARMNN_ASSERT_MSG(dim0 == dim1 || dim0 == 1 || dim1 == 1, in InferOutputShapes() 49 dims[i] = std::max(dim0, dim1); in InferOutputShapes()
|
D | ComparisonLayer.cpp | 55 unsigned int dim1 = input1[i - shiftedDims]; in InferOutputShapes() local 58 ARMNN_ASSERT_MSG(dim0 == dim1 || dim0 == 1 || dim1 == 1, in InferOutputShapes() 61 dims[i] = std::max(dim0, dim1); in InferOutputShapes()
|
D | ElementwiseBinaryLayer.cpp | 51 unsigned int dim1 = input1[i - shiftedDims]; in InferOutputShapes() local 54 ARMNN_ASSERT_MSG(dim0 == dim1 || dim0 == 1 || dim1 == 1, in InferOutputShapes() 57 dims[i] = std::max(dim0, dim1); in InferOutputShapes()
|
/external/webrtc/modules/audio_coding/codecs/ilbc/ |
D | my_corr.c | 30 size_t dim1, /* (i) dimension first seq1 */ in WebRtcIlbcfix_MyCorr() argument 42 max1 = WebRtcSpl_MaxAbsValueW16(seq1, dim1) + 1; in WebRtcIlbcfix_MyCorr() 50 loops=dim1-dim2+1; in WebRtcIlbcfix_MyCorr()
|
/external/tensorflow/tensorflow/lite/kernels/shim/ |
D | shape.cc | 73 int Shape::AddDims(const int dim1, const int dim2) { in AddDims() argument 74 if (dim1 == kUnknownDim || dim2 == kUnknownDim) return kUnknownDim; in AddDims() 75 return dim1 + dim2; in AddDims()
|
/external/armnn/src/backends/reference/workloads/ |
D | Slice.cpp | 52 unsigned int dim1 = paddedInput[1]; in Slice() local 67 ARMNN_ASSERT(begin1 + size1 <= dim1); in Slice() 84 (((idx0 * dim1 + idx1) * dim2 + idx2) * dim3 + idx3) * dataTypeSize; in Slice()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_util.h | 445 int64_t dim1 = 0; in CreateR3Projected() local 449 array(dim0, dim1, dim2) = value; in CreateR3Projected() 453 ++dim1; in CreateR3Projected() 455 CHECK_EQ(dim1_size, dim1); in CreateR3Projected() 471 for (int64_t dim1 = 0; dim1 < dim1_size; ++dim1) { in CreateR4Projected() local 476 array(dim0, dim1, dim2, dim3) = value; in CreateR4Projected()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/ |
D | hlslParseables.cpp | 213 … AppendTypeName(glslang::TString& s, const char* argOrder, const char* argType, int dim0, int dim1) in AppendTypeName() argument 227 std::swap(dim0, dim1); in AppendTypeName() 274 dim0 = dim1 = fixedVecSize; in AppendTypeName() 277 const char dim1Char = ('0' + char(dim1)); in AppendTypeName() 294 (order == 'M' && (dim1 < 1 || dim1 > 4))) { in AppendTypeName() 910 … for (int dim1 = dim1Min; dim1 <= dim1Max; ++dim1) { // for each dim 1... in initialize() local 914 … if (!IsValid(intrinsic.name, *retOrder, *retType, *argOrder, *argType, dim0, dim1)) in initialize() 921 AppendTypeName(s, retOrder, retType, dim0, dim1); // add return type in initialize() 971 … AppendTypeName(s, nthArgOrder, nthArgType, argDim0, dim1); // Add arguments in initialize()
|
/external/deqp-deps/glslang/glslang/HLSL/ |
D | hlslParseables.cpp | 213 … AppendTypeName(glslang::TString& s, const char* argOrder, const char* argType, int dim0, int dim1) in AppendTypeName() argument 227 std::swap(dim0, dim1); in AppendTypeName() 274 dim0 = dim1 = fixedVecSize; in AppendTypeName() 277 const char dim1Char = ('0' + char(dim1)); in AppendTypeName() 294 (order == 'M' && (dim1 < 1 || dim1 > 4))) { in AppendTypeName() 910 … for (int dim1 = dim1Min; dim1 <= dim1Max; ++dim1) { // for each dim 1... in initialize() local 914 … if (!IsValid(intrinsic.name, *retOrder, *retType, *argOrder, *argType, dim0, dim1)) in initialize() 921 AppendTypeName(s, retOrder, retType, dim0, dim1); // add return type in initialize() 971 … AppendTypeName(s, nthArgOrder, nthArgType, argDim0, dim1); // Add arguments in initialize()
|