Home
last modified time | relevance | path

Searched refs:input_length (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/
Dfractional_pool_common.cc21 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 …]
Dmfcc_dct.cc25 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()
Dmfcc_mel_filterbank.cc41 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()
Dmfcc.cc37 bool Mfcc::Initialize(int input_length, double input_sample_rate) { in Initialize() argument
39 input_length, input_sample_rate, filterbank_channel_count_, in Initialize()
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/
Dembeddings.py96 input_length=None, argument
99 if input_length:
100 kwargs['input_shape'] = (input_length,)
112 self.input_length = input_length
133 if self.input_length is None:
137 if isinstance(self.input_length, (list, tuple)):
138 in_lens = list(self.input_length)
140 in_lens = [self.input_length]
143 (str(self.input_length), str(input_shape)))
148 (str(self.input_length), str(input_shape)))
[all …]
/external/brotli/java/org/brotli/wrapper/dec/
Ddecoder_jni.cc20 size_t input_length; member
57 handle->input_length = 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate()
107 JNIEnv* env, jobject /*jobj*/, jlongArray ctx, jint input_length) { in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() argument
114 if (input_length != 0) { in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
116 if (handle->input_offset < handle->input_length) { in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
120 handle->input_length = input_length; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
125 size_t in_size = handle->input_length - handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
129 handle->input_offset = handle->input_length - in_size; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
133 context[1] = (handle->input_offset == handle->input_length) ? 1 : 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
170 context[1] = (handle->input_offset == handle->input_length) ? 1 : 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePull()
[all …]
/external/tensorflow/tensorflow/python/layers/
Dutils.py110 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): argument
123 if input_length is None:
128 output_length = input_length
130 output_length = input_length - dilated_filter_size + 1
132 output_length = input_length + dilated_filter_size - 1
160 def deconv_output_length(input_length, filter_size, padding, stride): argument
172 if input_length is None:
174 input_length *= stride
176 input_length += max(filter_size - stride, 0)
178 input_length -= (stride + filter_size - 2)
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpreemptive_expand.cc21 size_t input_length, in Process() argument
30 input_length / num_channels_ < (2 * k15ms - 1) * fs_mult_ || in Process()
31 old_data_length >= input_length / num_channels_ - overlap_samples_) { in Process()
34 output->PushBackInterleaved(input, input_length); in Process()
38 return TimeStretch::Process(input, input_length, kFastMode, output, in Process()
59 size_t input_length, in CheckCriteriaAndStretch() argument
91 input_length - unmodified_length * num_channels_); in CheckCriteriaAndStretch()
100 output->PushBackInterleaved(input, input_length); in CheckCriteriaAndStretch()
Daccelerate.cc18 size_t input_length, in Process() argument
25 input_length / num_channels_ < (2 * k15ms - 1) * fs_mult_) { in Process()
28 output->PushBackInterleaved(input, input_length); in Process()
31 return TimeStretch::Process(input, input_length, fast_accelerate, output, in Process()
45 size_t input_length, in CheckCriteriaAndStretch() argument
80 input_length - (fs_mult_120 + peak_index) * num_channels_); in CheckCriteriaAndStretch()
89 output->PushBackInterleaved(input, input_length); in CheckCriteriaAndStretch()
Dmerge.cc41 size_t Merge::Process(int16_t* input, size_t input_length, in Process() argument
56 input_vector.PushBackInterleaved(input, input_length); in Process()
58 assert(input_length_per_channel == input_length / num_channels_); in Process()
206 int16_t Merge::SignalScaling(const int16_t* input, size_t input_length, in SignalScaling() argument
211 std::min(static_cast<size_t>(64 * fs_mult_), input_length); in SignalScaling()
263 void Merge::Downsample(const int16_t* input, size_t input_length, in Downsample() argument
289 if (input_length <= length_limit) { in Downsample()
291 size_t temp_len = input_length - signal_offset; in Downsample()
303 input_length - signal_offset, input_downsampled_, in Downsample()
311 size_t start_position, size_t input_length, in CorrelateAndPeakSearch() argument
[all …]
Dmerge.h49 virtual size_t Process(int16_t* input, size_t input_length,
74 int16_t SignalScaling(const int16_t* input, size_t input_length,
81 void Downsample(const int16_t* input, size_t input_length,
88 size_t start_position, size_t input_length,
Daudio_classifier.cc41 int input_length, in Analysis() argument
44 assert((input_length / channels) == kDefaultFrameSizeSamples); in Analysis()
Daccelerate.h45 size_t input_length,
60 size_t input_length,
Dpreemptive_expand.h55 void SetParametersForPassiveSpeech(size_t input_length,
62 size_t input_length,
/external/icu/icu4c/source/test/intltest/
Dpunyref.cpp129 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()
Dpunyref.h56 punycode_uint input_length,
88 punycode_uint input_length,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java137 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java140 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/syslinux/gpxe/src/drivers/net/
Dpnic.c46 const void *input, uint16_t input_length, in pnic_command_quiet() argument
54 outw ( input_length, pnic->ioaddr + PNIC_REG_LEN ); in pnic_command_quiet()
56 outsb ( pnic->ioaddr + PNIC_REG_DATA, input, input_length ); in pnic_command_quiet()
87 const void *input, uint16_t input_length, in pnic_command() argument
91 input, input_length, in pnic_command()
96 command, input_length, status ); in pnic_command()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dmoving_moments_unittest.cc28 void CalculateMomentsAndVerify(const float* input, size_t input_length,
44 const float* input, size_t input_length, in CalculateMomentsAndVerify() argument
47 ASSERT_LE(input_length, kMaxOutputLength); in CalculateMomentsAndVerify()
50 input_length, in CalculateMomentsAndVerify()
54 for (size_t i = 1; i < input_length; ++i) { in CalculateMomentsAndVerify()
/external/tensorflow/tensorflow/contrib/training/python/training/
Dbucket_ops.py303 def bucket_by_sequence_length(input_length, argument
385 [input_length] + tensor_list) as name:
386 input_length = ops.convert_to_tensor(
387 input_length, dtype=dtypes.int32, name="input_length")
400 math_ops.less_equal(buckets_min, input_length),
401 math_ops.less(input_length, buckets_max))
409 tensors=[input_length] + tensor_list,
Dsequence_queueing_state_saver_test.py80 input_length=length,
180 input_length=length,
215 input_length=length,
265 input_length=length,
302 input_length=length,
357 input_length=length,
511 input_length=length,
583 input_length=length,
651 input_length=length,
/external/tensorflow/tensorflow/core/ops/
Daudio_ops.cc78 DimensionHandle input_length = c->Dim(input, 0); in SpectrogramShapeFn() local
82 if (!c->ValueKnown(input_length)) { in SpectrogramShapeFn()
85 const int64 input_length_value = c->Value(input_length); in SpectrogramShapeFn()
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417HighLevelEncoder_unittest.cpp45 size_t input_length = strlen(ptr->input); in TEST() local
46 input_array.resize(input_length); in TEST()
47 for (size_t j = 0; j < input_length; ++j) { in TEST()
/external/brotli/java/org/brotli/wrapper/enc/
Dencoder_jni.cc112 JNIEnv* env, jobject /*jobj*/, jlongArray ctx, jint input_length) { in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() argument
128 if (input_length != 0) { in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
134 handle->input_last = input_length; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()

123