/external/XNNPACK/test/ |
D | resize-bilinear-nhwc.cc | 16 .output_size(output_height, 1) in TEST() 29 .output_size(1, output_width) in TEST() 42 .output_size(output_height, output_width) in TEST() 55 .output_size(output_height, 1) in TEST() 68 .output_size(1, output_width) in TEST() 81 .output_size(2, 2) in TEST() 94 .output_size(height, width) in TEST() 104 for (size_t output_size = 2; output_size <= 6; output_size += 2) { in TEST() local 107 .input_size(output_size, output_size) in TEST() 108 .output_size(output_size, output_size) in TEST() [all …]
|
D | resize-bilinear-nchw.cc | 16 .output_size(output_height, 2) in TEST() 29 .output_size(2, output_width) in TEST() 42 .output_size(output_height, output_width) in TEST() 55 .output_size(output_height, 2) in TEST() 68 .output_size(2, output_width) in TEST() 81 .output_size(2, 2) in TEST() 94 .output_size(height, width) in TEST() 104 for (size_t output_size = 2; output_size <= 6; output_size += 2) { in TEST() local 108 .output_size(output_size, output_size) in TEST() 119 for (size_t output_size = 2; output_size <= 6; output_size += 2) { in TEST() local [all …]
|
/external/mesa3d/prebuilt-intermediates/nir/ |
D | nir_opcodes.c | 298 .output_size = 0, 313 .output_size = 1, 328 .output_size = 1, 343 .output_size = 1, 358 .output_size = 1, 373 .output_size = 1, 388 .output_size = 1, 403 .output_size = 1, 418 .output_size = 1, 433 .output_size = 1, [all …]
|
/external/webrtc/modules/audio_processing/agc2/rnn_vad/ |
D | rnn_gru.cc | 25 int output_size) { in PreprocessGruTensor() argument 29 output_size * kNumGruGates); in PreprocessGruTensor() 30 const int stride_src = kNumGruGates * output_size; in PreprocessGruTensor() 31 const int stride_dst = n * output_size; in PreprocessGruTensor() 34 for (int o = 0; o < output_size; ++o) { in PreprocessGruTensor() 39 tensor_src[i * stride_src + g * output_size + o]); in PreprocessGruTensor() 55 int output_size, in ComputeUpdateResetGate() argument 64 RTC_DCHECK_EQ(state.size(), output_size); in ComputeUpdateResetGate() 65 RTC_DCHECK_EQ(bias.size(), output_size); in ComputeUpdateResetGate() 66 RTC_DCHECK_EQ(weights.size(), input_size * output_size); in ComputeUpdateResetGate() [all …]
|
D | rnn_fc.cc | 37 int output_size) { in PreprocessWeights() argument 38 if (output_size == 1) { in PreprocessWeights() 43 rtc::dchecked_cast<int>(weights.size()), output_size); in PreprocessWeights() 45 for (int o = 0; o < output_size; ++o) { in PreprocessWeights() 48 static_cast<float>(weights[i * output_size + o]); in PreprocessWeights() 68 const int output_size, in FullyConnectedLayer() argument 75 output_size_(output_size), in FullyConnectedLayer() 77 weights_(PreprocessWeights(weights, output_size)), in FullyConnectedLayer()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | conv_grad_size_util.cc | 40 dim.output_size = (input_size - effective_filter_size + stride) / stride; in GetWindowedOutputSize() 44 dim.output_size = (input_size + stride - 1) / stride; in GetWindowedOutputSize() 46 std::max(int64_t{0}, (dim.output_size - 1) * stride + in GetWindowedOutputSize() 54 if (dim.output_size < 0) { in GetWindowedOutputSize() 56 "Computed output size would be negative: ", dim.output_size, in GetWindowedOutputSize() 68 int64_t output_size, int64_t dilation, in ConvGradExtractAndVerifyDimension() argument 73 if (output_size != output_dim.output_size) { in ConvGradExtractAndVerifyDimension() 76 output_size, ", computed = ", output_dim.output_size, in ConvGradExtractAndVerifyDimension() 78 " output: ", output_size, " stride: ", stride, " dilation: ", dilation); in ConvGradExtractAndVerifyDimension() 83 dim.output_size = (output_dim.output_size - 1) * stride + 1; in ConvGradExtractAndVerifyDimension() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fractional_max_pool_op.cc | 84 std::vector<int> output_size(tensor_in_and_out_dims); in Compute() local 99 output_size[i] = in Compute() 101 DCHECK_GT(output_size[i], 0); in Compute() 109 height_cum_seq = GeneratePoolingSequence(input_size[1], output_size[1], in Compute() 111 width_cum_seq = GeneratePoolingSequence(input_size[2], output_size[2], in Compute() 118 TensorShape({output_size[0], output_size[1], in Compute() 119 output_size[2], output_size[3]}), in Compute() 137 EigenMatrixMap out_mat(output_tensor->flat<T>().data(), output_size[3], in Compute() 138 output_size[2] * output_size[1] * output_size[0]); in Compute() 174 (b * output_size[1] + hs) * output_size[2] + ws; in Compute() [all …]
|
D | stateful_random_ops_cpu_gpu.h | 38 uint64 output_size) { in SkipPhiloxRandom() argument 42 auto delta = output_size * 256; in SkipPhiloxRandom() 48 uint64 output_size, in UpdateMemWithPhiloxRandom() argument 50 auto new_philox = SkipPhiloxRandom(philox, output_size); in UpdateMemWithPhiloxRandom() 55 PhiloxRandom::ResultType const& counter, uint64 output_size, in UpdateCounterMemWithPhiloxRandom() argument 58 auto new_philox = SkipPhiloxRandom(philox, output_size); in UpdateCounterMemWithPhiloxRandom() 81 int64_t output_size; member
|
/external/ComputeLibrary/src/runtime/NEON/functions/ |
D | NELSTMLayerQuantized.cpp | 82 const int output_size = input_to_input_weights->info()->dimension(1); in configure() local 86 …auto_init_if_empty(*cell_state_out->info(), TensorInfo(TensorShape(batch_size, output_size), 1, Da… in configure() 87 …auto_init_if_empty(*output_state_out->info(), TensorInfo(TensorShape(batch_size, output_size), 1, … in configure() 106 …_input_weights.allocator()->init(TensorInfo(TensorShape(input_size, 4 * output_size), 1, DataType:… in configure() 109 …_recurrent_weights.allocator()->init(TensorInfo(TensorShape(output_size, 4 * output_size), 1, Data… in configure() 113 …_weights.allocator()->init(TensorInfo(TensorShape(output_size + input_size, 4 * output_size), 1, D… in configure() 120 …_input.allocator()->init(TensorInfo(TensorShape(output_size + input_size, batch_size), 1, DataType… in configure() 125 _bias.allocator()->init(TensorInfo(TensorShape(4 * output_size), 1, DataType::S32)); in configure() 134 …_output_highp.allocator()->init(TensorInfo(TensorShape(4 * output_size, batch_size), 1, DataType::… in configure() 165 …_slice_input_tensor.configure(&_output_lowp, &_input_gate_input, { 0, 0 }, { output_size, batch_si… in configure() [all …]
|
/external/ComputeLibrary/src/runtime/CL/functions/ |
D | CLLSTMLayerQuantized.cpp | 94 const int output_size = input_to_input_weights->info()->dimension(1); in configure() local 98 …auto_init_if_empty(*cell_state_out->info(), TensorInfo(TensorShape(batch_size, output_size), 1, Da… in configure() 99 …auto_init_if_empty(*output_state_out->info(), TensorInfo(TensorShape(batch_size, output_size), 1, … in configure() 127 …_input_weights.allocator()->init(TensorInfo(TensorShape(input_size, 4 * output_size), 1, DataType:… in configure() 130 …_recurrent_weights.allocator()->init(TensorInfo(TensorShape(output_size, 4 * output_size), 1, Data… in configure() 137 …_weights.allocator()->init(TensorInfo(TensorShape(output_size + input_size, 4 * output_size), 1, D… in configure() 147 …_input.allocator()->init(TensorInfo(TensorShape(output_size + input_size, batch_size), 1, DataType… in configure() 157 _bias.allocator()->init(TensorInfo(TensorShape(4 * output_size), 1, DataType::S32)); in configure() 166 …_output_highp.allocator()->init(TensorInfo(TensorShape(4 * output_size, batch_size), 1, DataType::… in configure() 197 …nfigure(compile_context, &_output_lowp, &_input_gate_input, { 0, 0 }, { output_size, batch_size }); in configure() [all …]
|
/external/openthread/third_party/mbedtls/repo/tests/src/drivers/ |
D | test_driver_cipher.c | 56 size_t output_size, in mbedtls_test_transparent_cipher_encrypt() argument 63 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_encrypt() 83 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_encrypt() 88 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_encrypt() 102 size_t output_size, in mbedtls_test_transparent_cipher_decrypt() argument 109 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_decrypt() 129 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_decrypt() 134 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_decrypt() 246 size_t output_size, in mbedtls_test_transparent_cipher_update() argument 253 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_update() [all …]
|
/external/mbedtls/tests/src/drivers/ |
D | test_driver_cipher.c | 52 size_t output_size, in mbedtls_test_transparent_cipher_encrypt() argument 59 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_encrypt() 79 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_encrypt() 84 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_encrypt() 98 size_t output_size, in mbedtls_test_transparent_cipher_decrypt() argument 105 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_decrypt() 125 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_decrypt() 130 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_decrypt() 239 size_t output_size, in mbedtls_test_transparent_cipher_update() argument 246 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_update() [all …]
|
D | test_driver_asymmetric_encryption.c | 40 uint8_t *output, size_t output_size, size_t *output_length ) in mbedtls_test_transparent_asymmetric_encrypt() argument 46 if( output_size < mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length ) in mbedtls_test_transparent_asymmetric_encrypt() 66 output, output_size, output_length ) ); in mbedtls_test_transparent_asymmetric_encrypt() 71 output, output_size, output_length ) ); in mbedtls_test_transparent_asymmetric_encrypt() 81 uint8_t *output, size_t output_size, size_t *output_length ) in mbedtls_test_transparent_asymmetric_decrypt() argument 87 if( output_size < mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length ) in mbedtls_test_transparent_asymmetric_decrypt() 107 output, output_size, output_length ) ); in mbedtls_test_transparent_asymmetric_decrypt() 112 output, output_size, output_length ) ); in mbedtls_test_transparent_asymmetric_decrypt() 125 uint8_t *output, size_t output_size, size_t *output_length ) in mbedtls_test_opaque_asymmetric_encrypt() argument 136 (void) output_size; in mbedtls_test_opaque_asymmetric_encrypt() [all …]
|
/external/pdfium/core/fxcodec/gif/ |
D | lzw_decompressor_unittest.cpp | 97 uint32_t output_size = std::size(output_data); in TEST() local 101 decompressor->Decode(output_data, &output_size)); in TEST() 105 decompressor->Decode(output_data, &output_size)); in TEST() 109 decompressor->Decode(nullptr, &output_size)); in TEST() 113 output_size = 0; in TEST() 115 decompressor->Decode(output_data, &output_size)); in TEST() 130 uint32_t output_size = std::size(output_data); in TEST() local 134 decompressor->Decode(output_data, &output_size)); in TEST() 136 EXPECT_EQ(std::size(output_data), output_size); in TEST() 162 uint32_t output_size = std::size(output_data); in TEST() local [all …]
|
/external/grpc-grpc/test/core/compression/ |
D | stream_compression_test.cc | 75 size_t output_size; in test_stream_compression_simple_compress_decompress() local 76 GPR_ASSERT(grpc_stream_decompress(decompress_ctx, &relay, &sink, &output_size, in test_stream_compression_simple_compress_decompress() 78 GPR_ASSERT(output_size == sizeof(test_str) - 1); in test_stream_compression_simple_compress_decompress() 110 size_t output_size; in test_stream_compression_simple_compress_decompress_with_output_size_constraint() local 112 GPR_ASSERT(grpc_stream_decompress(decompress_ctx, &relay, &sink, &output_size, in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 114 GPR_ASSERT(output_size == max_output_size); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 123 GPR_ASSERT(grpc_stream_decompress(decompress_ctx, &relay, &sink, &output_size, in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 125 GPR_ASSERT(output_size == remaining_size); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 158 size_t output_size; in test_stream_compression_simple_compress_decompress_with_large_data() local 159 GPR_ASSERT(grpc_stream_decompress(decompress_ctx, &relay, &sink, &output_size, in test_stream_compression_simple_compress_decompress_with_large_data() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/ |
D | stream_compression_identity.cc | 35 size_t* output_size, in grpc_stream_compression_pass_through() argument 38 if (output_size) { in grpc_stream_compression_pass_through() 39 *output_size = in->length; in grpc_stream_compression_pass_through() 43 if (output_size) { in grpc_stream_compression_pass_through() 44 *output_size = max_output_size; in grpc_stream_compression_pass_through() 52 grpc_slice_buffer* out, size_t* output_size, size_t max_output_size, in grpc_stream_compress_identity() argument 57 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_compress_identity() 63 grpc_slice_buffer* out, size_t* output_size, size_t max_output_size, in grpc_stream_decompress_identity() argument 68 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_decompress_identity()
|
/external/grpc-grpc/src/core/lib/compression/ |
D | stream_compression_identity.cc | 35 size_t* output_size, in grpc_stream_compression_pass_through() argument 38 if (output_size) { in grpc_stream_compression_pass_through() 39 *output_size = in->length; in grpc_stream_compression_pass_through() 43 if (output_size) { in grpc_stream_compression_pass_through() 44 *output_size = max_output_size; in grpc_stream_compression_pass_through() 53 size_t* output_size, in grpc_stream_compress_identity() argument 59 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_compress_identity() 65 grpc_slice_buffer* out, size_t* output_size, size_t max_output_size, in grpc_stream_decompress_identity() argument 70 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_decompress_identity()
|
/external/tensorflow/tensorflow/core/framework/ |
D | kernel_shape_util.cc | 23 int64_t* output_size, in GetWindowedOutputSizeVerboseV2() argument 38 *output_size = (input_size - effective_filter_size + stride) / stride; in GetWindowedOutputSizeVerboseV2() 42 *output_size = (input_size + *padding_before + *padding_after - in GetWindowedOutputSizeVerboseV2() 47 *output_size = (input_size + stride - 1) / stride; in GetWindowedOutputSizeVerboseV2() 49 std::max(int64_t{0}, (*output_size - 1) * stride + in GetWindowedOutputSizeVerboseV2() 57 if (*output_size < 0) { in GetWindowedOutputSizeVerboseV2() 59 "Computed output size would be negative: ", *output_size, in GetWindowedOutputSizeVerboseV2() 69 int64_t* output_size, in GetWindowedOutputSizeVerbose() argument 74 padding_type, output_size, in GetWindowedOutputSizeVerbose() 80 int64_t* output_size, int64_t* padding_size) { in GetWindowedOutputSize() argument [all …]
|
/external/tensorflow/tensorflow/core/lib/db/ |
D | snapfn.cc | 113 size_t output_size = in snap() local 115 if (output_size > in snap() 122 static_cast<char*>(sqlite3_malloc(static_cast<int>(output_size))); in snap() 127 *output++ = static_cast<char>(type), --output_size; in snap() 128 snappy::RawCompress(data, static_cast<size_t>(size), output, &output_size); in snap() 129 sqlite3_result_blob(ctx, output - 1, static_cast<int>(output_size + 1), in snap() 171 size_t output_size; in unsnap() local 173 &output_size)) { in unsnap() 178 if (output_size > in unsnap() 185 static_cast<char*>(sqlite3_malloc(static_cast<int>(output_size))); in unsnap() [all …]
|
/external/cronet/base/ |
D | base64.cc | 43 const size_t output_size = modp_b64_encode_data( in Base64EncodeAppend() local 46 CHECK_EQ(output->size(), prefix_len + output_size); in Base64EncodeAppend() 61 size_t output_size = modp_b64_decode(&(temp[0]), input.data(), input_size, in Base64Decode() local 70 if (output_size == MODP_B64_ERROR && in Base64Decode() 77 output_size = in Base64Decode() 82 if (output_size == MODP_B64_ERROR) in Base64Decode() 85 temp.resize(output_size); in Base64Decode() 94 size_t output_size = modp_b64_decode(reinterpret_cast<char*>(ret.data()), in Base64Decode() local 96 if (output_size == MODP_B64_ERROR) in Base64Decode() 99 ret.resize(output_size); in Base64Decode()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opcodes.py | 35 def __init__(self, name, output_size, output_type, input_sizes, argument 68 assert isinstance(output_size, int) 78 assert 0 <= output_size <= 4 or (output_size == 8) or (output_size == 16) 81 if output_size != 0: 85 self.output_size = output_size 153 def opcode(name, output_size, output_type, input_sizes, input_types, argument 156 opcodes[name] = Opcode(name, output_size, output_type, input_sizes, 166 def unop_horiz(name, output_size, output_type, input_size, input_type, argument 168 opcode(name, output_size, output_type, [input_size], [input_type], 171 def unop_reduce(name, output_size, output_type, input_type, prereduce_expr, argument [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | bincount_ops.py | 123 output_size = math_ops.cast(array_is_nonempty, dtypes.int32) * ( 128 output_size = gen_math_ops.maximum(minlength, output_size) 132 output_size = gen_math_ops.minimum(maxlength, output_size) 135 return gen_math_ops.unsorted_segment_sum(weights, arr, output_size) 138 return gen_math_ops.bincount(arr, output_size, weights) 165 output_size = math_ops.cast(array_is_nonempty, arr.dtype) * ( 168 output_size = math_ops.cast(array_is_nonempty, arr.dtype) * ( 173 output_size = gen_math_ops.maximum(minlength, output_size) 177 output_size = gen_math_ops.minimum(maxlength, output_size) 199 size=output_size, [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | multinomial.cc | 39 IntegralType* outputs, int output_size) { in MultinomialSample() argument 61 for (int i = 0; i < output_size; i++) { in MultinomialSample() 79 int output_size) { in MultinomialSample() argument 84 GetTensorData<int32_t>(output) + outputs_offset, output_size); in MultinomialSample() 89 GetTensorData<int64_t>(output) + outputs_offset, output_size); in MultinomialSample() 103 int outputs_offset, int output_size) { in MultinomialSample() argument 114 logits_size, output, outputs_offset, output_size)); in MultinomialSample() 121 logits_size, output, outputs_offset, output_size)); in MultinomialSample() 180 int output_size = *num_samples_input->data.i32; in Eval() local 186 int output_offset = output_size * batch; in Eval() [all …]
|
/external/openscreen/util/ |
D | base64.cc | 29 const size_t output_size = in Encode() local 31 if (output_size == MODP_B64_ERROR) { in Encode() 36 out.resize(output_size); in Encode() 43 const size_t output_size = modp_b64_decode( in Decode() local 45 if (output_size == MODP_B64_ERROR) { in Decode() 50 out.resize(output_size); in Decode()
|
/external/mbedtls/tests/include/test/drivers/ |
D | cipher.h | 58 uint8_t *output, size_t output_size, size_t *output_length); 65 uint8_t *output, size_t output_size, size_t *output_length); 89 uint8_t *output, size_t output_size, size_t *output_length); 93 uint8_t *output, size_t output_size, size_t *output_length); 104 uint8_t *output, size_t output_size, size_t *output_length); 111 uint8_t *output, size_t output_size, size_t *output_length); 135 uint8_t *output, size_t output_size, size_t *output_length); 139 uint8_t *output, size_t output_size, size_t *output_length);
|