/external/tensorflow/tensorflow/core/kernels/ |
D | fractional_pool_common.cc | 21 int input_length, int output_length, GuardedPhiloxRandom* generator) { in GeneratePoolingSequencePseudoRandom() argument 25 double alpha = static_cast<double>(input_length) / output_length; in GeneratePoolingSequencePseudoRandom() 26 int k = input_length / output_length; in GeneratePoolingSequencePseudoRandom() 60 double u_max2 = (input_length + 1 - k) / alpha - (output_length - 1); in GeneratePoolingSequencePseudoRandom() 69 cum_seq[output_length] = input_length + 1; in GeneratePoolingSequencePseudoRandom() 82 int input_length, int output_length, GuardedPhiloxRandom* generator) { in GeneratePoolingSequenceRandom() argument 83 int k = input_length / output_length; in GeneratePoolingSequenceRandom() 84 int num_random_spot = input_length % output_length; in GeneratePoolingSequenceRandom() 100 std::vector<int64> GeneratePoolingSequence(int input_length, int output_length, in GeneratePoolingSequence() argument 106 if (input_length % output_length == 0) { in GeneratePoolingSequence() [all …]
|
D | mfcc_dct.cc | 25 bool MfccDct::Initialize(int input_length, int coefficient_count) { in Initialize() argument 27 input_length_ = input_length; in Initialize() 34 if (input_length < 1) { in Initialize()
|
D | mfcc_mel_filterbank.cc | 41 bool MfccMelFilterbank::Initialize(int input_length, double input_sample_rate, in Initialize() argument 47 input_length_ = input_length; in Initialize() 59 if (input_length < 2) { in Initialize() 158 << "input_length: " << input_length in Initialize()
|
/external/tensorflow/tensorflow/python/layers/ |
D | utils.py | 105 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): argument 118 if input_length is None: 123 output_length = input_length 125 output_length = input_length - dilated_filter_size + 1 127 output_length = input_length + dilated_filter_size - 1 155 def deconv_output_length(input_length, filter_size, padding, stride): argument 167 if input_length is None: 169 input_length *= stride 171 input_length += max(filter_size - stride, 0) 173 input_length -= (stride + filter_size - 2) [all …]
|
/external/brotli/java/org/brotli/wrapper/dec/ |
D | decoder_jni.cc | 20 size_t input_length; member 58 handle->input_length = 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate() 108 JNIEnv* env, jobject /*jobj*/, jlongArray ctx, jint input_length) { in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() argument 116 if (input_length != 0) { in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 118 if (handle->input_offset < handle->input_length) { in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 122 handle->input_length = input_length; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 127 size_t in_size = handle->input_length - handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 131 handle->input_offset = handle->input_length - in_size; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 135 context[1] = (handle->input_offset == handle->input_length) ? 1 : 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 174 context[1] = (handle->input_offset == handle->input_length) ? 1 : 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePull() [all …]
|
/external/webrtc/modules/audio_coding/neteq/ |
D | preemptive_expand.cc | 23 size_t input_length, in Process() argument 32 input_length / num_channels_ < (2 * k15ms - 1) * fs_mult_ || in Process() 33 old_data_length >= input_length / num_channels_ - overlap_samples_) { in Process() 37 rtc::ArrayView<const int16_t>(input, input_length)); in Process() 41 return TimeStretch::Process(input, input_length, kFastMode, output, in Process() 61 size_t input_length, in CheckCriteriaAndStretch() argument 93 input_length - unmodified_length * num_channels_)); in CheckCriteriaAndStretch() 103 rtc::ArrayView<const int16_t>(input, input_length)); in CheckCriteriaAndStretch()
|
D | accelerate.cc | 21 size_t input_length, in Process() argument 28 input_length / num_channels_ < (2 * k15ms - 1) * fs_mult_) { in Process() 32 rtc::ArrayView<const int16_t>(input, input_length)); in Process() 35 return TimeStretch::Process(input, input_length, fast_accelerate, output, in Process() 49 size_t input_length, in CheckCriteriaAndStretch() argument 85 input_length - (fs_mult_120 + peak_index) * num_channels_)); in CheckCriteriaAndStretch() 95 rtc::ArrayView<const int16_t>(input, input_length)); in CheckCriteriaAndStretch()
|
D | merge.cc | 47 size_t input_length, in Process() argument 62 rtc::ArrayView<const int16_t>(input, input_length)); in Process() 64 assert(input_length_per_channel == input_length / num_channels_); in Process() 209 size_t input_length, in SignalScaling() argument 213 64 * rtc::dchecked_cast<size_t>(fs_mult_), input_length); in SignalScaling() 261 size_t input_length, in Downsample() argument 287 if (input_length <= length_limit) { in Downsample() 295 input_length > signal_offset ? input_length - signal_offset : 0; in Downsample() 309 &input[signal_offset], input_length - signal_offset, input_downsampled_, in Downsample() 316 size_t input_length, in CorrelateAndPeakSearch() argument [all …]
|
D | merge.h | 45 size_t input_length, 70 size_t input_length, 77 size_t input_length, 85 size_t input_length,
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | bin_decoder.cc | 162 size_t input_length = GRPC_SLICE_LENGTH(input); in grpc_chttp2_base64_decode() local 163 size_t output_length = input_length / 4 * 3; in grpc_chttp2_base64_decode() 167 if (GPR_UNLIKELY(input_length % 4 != 0)) { in grpc_chttp2_base64_decode() 172 static_cast<int>(input_length)); in grpc_chttp2_base64_decode() 176 if (input_length > 0) { in grpc_chttp2_base64_decode() 207 size_t input_length = GRPC_SLICE_LENGTH(input); in grpc_chttp2_base64_decode_with_length() local 212 if (GPR_UNLIKELY(input_length % 4 == 1)) { in grpc_chttp2_base64_decode_with_length() 217 static_cast<int>(input_length)); in grpc_chttp2_base64_decode_with_length() 223 input_length / 4 * 3 + tail_xtra[input_length % 4])) { in grpc_chttp2_base64_decode_with_length() 229 static_cast<int>(input_length / 4 * 3 + tail_xtra[input_length % 4])); in grpc_chttp2_base64_decode_with_length()
|
D | bin_encoder.cc | 51 size_t input_length = GRPC_SLICE_LENGTH(input); in grpc_chttp2_base64_encode() local 52 size_t input_triplets = input_length / 3; in grpc_chttp2_base64_encode() 53 size_t tail_case = input_length % 3; in grpc_chttp2_base64_encode() 169 size_t input_length = GRPC_SLICE_LENGTH(input); in grpc_chttp2_base64_encode_and_huffman_compress() local 170 size_t input_triplets = input_length / 3; in grpc_chttp2_base64_encode_and_huffman_compress() 171 size_t tail_case = input_length % 3; in grpc_chttp2_base64_encode_and_huffman_compress()
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | embeddings.py | 99 input_length=None, argument 102 if input_length: 103 kwargs['input_shape'] = (input_length,) 130 self.input_length = input_length 167 if self.input_length is None: 171 if isinstance(self.input_length, (list, tuple)): 172 in_lens = list(self.input_length) 174 in_lens = [self.input_length] 178 self.input_length), str(input_shape))) 184 self.input_length), str(input_shape))) [all …]
|
D | wrappers.py | 221 input_length = tf_utils.convert_shapes(input_shape) 222 input_length = nest.flatten(input_length)[1] 233 input_length=row_lengths[0] if is_ragged_input else input_length, 258 input_length = tf_utils.convert_shapes(input_shape) 259 input_length = nest.flatten(input_length)[1] 260 if not input_length: 261 input_length = nest.map_structure(lambda x: array_ops.shape(x)[1], 263 input_length = generic_utils.to_list(nest.flatten(input_length))[0] 283 (-1, input_length), tensor, 1, int_shape[2:]), y, output_shape) 363 input_length = tf_utils.convert_shapes(input_shape) [all …]
|
D | local.py | 161 input_dim, input_length = input_shape[1], input_shape[2] 163 input_dim, input_length = input_shape[2], input_shape[1] 169 self.output_length = conv_utils.conv_output_length(input_length, 187 self.kernel_shape = (input_dim, input_length, self.filters, 190 self.kernel_shape = (input_length, input_dim, self.output_length, 201 input_shape=(input_length,), 210 input_length * input_dim) 214 input_shape=(input_length,), 252 input_length = input_shape[2] 254 input_length = input_shape[1] [all …]
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | bin_decoder.cc | 162 size_t input_length = GRPC_SLICE_LENGTH(input); in grpc_chttp2_base64_decode() local 163 size_t output_length = input_length / 4 * 3; in grpc_chttp2_base64_decode() 167 if (GPR_UNLIKELY(input_length % 4 != 0)) { in grpc_chttp2_base64_decode() 172 static_cast<int>(input_length)); in grpc_chttp2_base64_decode() 176 if (input_length > 0) { in grpc_chttp2_base64_decode() 207 size_t input_length = GRPC_SLICE_LENGTH(input); in grpc_chttp2_base64_decode_with_length() local 212 if (GPR_UNLIKELY(input_length % 4 == 1)) { in grpc_chttp2_base64_decode_with_length() 217 static_cast<int>(input_length)); in grpc_chttp2_base64_decode_with_length() 223 input_length / 4 * 3 + tail_xtra[input_length % 4])) { in grpc_chttp2_base64_decode_with_length() 229 static_cast<int>(input_length / 4 * 3 + tail_xtra[input_length % 4])); in grpc_chttp2_base64_decode_with_length()
|
D | bin_encoder.cc | 52 size_t input_length = GRPC_SLICE_LENGTH(input); in grpc_chttp2_base64_encode() local 53 size_t input_triplets = input_length / 3; in grpc_chttp2_base64_encode() 54 size_t tail_case = input_length % 3; in grpc_chttp2_base64_encode() 170 size_t input_length = GRPC_SLICE_LENGTH(input); in grpc_chttp2_base64_encode_and_huffman_compress() local 171 size_t input_triplets = input_length / 3; in grpc_chttp2_base64_encode_and_huffman_compress() 172 size_t tail_case = input_length % 3; in grpc_chttp2_base64_encode_and_huffman_compress()
|
/external/icu/icu4c/source/test/intltest/ |
D | punyref.cpp | 129 punycode_uint input_length, in punycode_encode() argument 146 for (j = 0; j < input_length; ++j) { in punycode_encode() 166 while (h < input_length) { in punycode_encode() 170 for (m = maxint, j = 0; j < input_length; ++j) { in punycode_encode() 183 for (j = 0; j < input_length; ++j) { in punycode_encode() 218 punycode_uint input_length, in punycode_decode() argument 238 for (b = j = 0; j < input_length; ++j) if (delim(input[j])) b = j; in punycode_decode() 250 for (in = b > 0 ? b + 1 : 0; in < input_length; ++out) { in punycode_decode() 261 if (in >= input_length) return punycode_bad_input; in punycode_decode()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | conv_utils.py | 93 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): argument 106 if input_length is None: 111 output_length = input_length 113 output_length = input_length - dilated_filter_size + 1 115 output_length = input_length + dilated_filter_size - 1 143 def deconv_output_length(input_length, argument 164 if input_length is None: 173 length = input_length * stride + max(filter_size - stride, 0) 175 length = input_length * stride - (stride + filter_size - 2) 177 length = input_length * stride [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
D | PunycodeReference.java | 140 public static final int encode( int input_length, in encode() argument 156 for (j = 0; j < input_length; ++j) { in encode() 176 while (h < input_length) { in encode() 180 for (m = maxint, j = 0; j < input_length; ++j) { in encode() 193 for (j = 0; j < input_length; ++j) { in encode() 300 public static final int decode(int input_length, in decode() argument 319 for (b = j = 0; j < input_length; ++j){ in decode() 335 for (in = b > 0 ? b + 1 : 0; in < input_length; ++out) { in decode() 346 if (in >= input_length) return punycode_bad_input; in decode()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | PunycodeReference.java | 137 public static final int encode( int input_length, in encode() argument 153 for (j = 0; j < input_length; ++j) { in encode() 173 while (h < input_length) { in encode() 177 for (m = maxint, j = 0; j < input_length; ++j) { in encode() 190 for (j = 0; j < input_length; ++j) { in encode() 297 public static final int decode(int input_length, in decode() argument 316 for (b = j = 0; j < input_length; ++j){ in decode() 332 for (in = b > 0 ? b + 1 : 0; in < input_length; ++out) { in decode() 343 if (in >= input_length) return punycode_bad_input; in decode()
|
/external/tensorflow/tensorflow/lite/micro/benchmarks/ |
D | micro_benchmark.h | 57 int input_length = input->bytes / sizeof(inputT); in SetRandomInput() local 59 for (int i = 0; i < input_length; i++) { in SetRandomInput() 70 int input_length = input->bytes / sizeof(inputT); in SetInput() local 71 for (int i = 0; i < input_length; i++) { in SetInput()
|
/external/webrtc/modules/audio_processing/transient/ |
D | moving_moments_unittest.cc | 30 size_t input_length, 47 size_t input_length, in CalculateMomentsAndVerify() argument 50 ASSERT_LE(input_length, kMaxOutputLength); in CalculateMomentsAndVerify() 52 moving_moments_->CalculateMoments(input, input_length, output_mean_, in CalculateMomentsAndVerify() 55 for (size_t i = 1; i < input_length; ++i) { in CalculateMomentsAndVerify()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | mfcc_dct.cc | 25 bool MfccDct::Initialize(int input_length, int coefficient_count) { in Initialize() argument 27 input_length_ = input_length; in Initialize() 33 if (input_length < 1) { in Initialize()
|
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/ |
D | main_functions.cc | 35 int input_length; variable 95 input_length = model_input->bytes / sizeof(float); in setup() 106 ReadAccelerometer(error_reporter, model_input->data.f, input_length); in loop()
|
/external/zlib/contrib/bench/ |
D | zlib_bench.cc | 217 std::vector<size_t> input_length(blocks); in zlib_file() local 225 input_length[b] = input_limit - input_start; in zlib_file() 249 zlib_compress(type, input[b], input_length[b], &compressed[b]); in zlib_file() 255 zlib_compress(type, input[b], input_length[b], &compressed[b], true); in zlib_file() 258 output[b].resize(input_length[b]); in zlib_file() 263 zlib_uncompress(type, compressed[b], input_length[b], &output[b]); in zlib_file() 267 verify_equal(input[b], input_length[b], &output[b]); in zlib_file()
|