Home
last modified time | relevance | path

Searched refs:output_length (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dfractional_pool_common.cc21 int input_length, int output_length, GuardedPhiloxRandom* generator) { in GeneratePoolingSequencePseudoRandom() argument
22 std::vector<int64> cum_seq(output_length + 1, 0); in GeneratePoolingSequencePseudoRandom()
23 std::vector<int64> diff(output_length, 0); in GeneratePoolingSequencePseudoRandom()
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()
70 for (int i = 1; i < output_length; ++i) { in GeneratePoolingSequencePseudoRandom()
74 for (int i = 0; i < output_length; ++i) { in GeneratePoolingSequencePseudoRandom()
82 int input_length, int output_length, GuardedPhiloxRandom* generator) { in GeneratePoolingSequenceRandom() argument
[all …]
Dfractional_pool_common.h73 std::vector<int64> GeneratePoolingSequence(int input_length, int output_length,
/external/sfntly/cpp/src/test/
Dchrome_subsetter.cc41 int output_length = in TestChromeSubsetter() local
49 EXPECT_GT(output_length, 0); in TestChromeSubsetter()
51 if (output_length > 0) { in TestChromeSubsetter()
60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); in TestChromeSubsetter()
61 EXPECT_EQ(byte_count, output_length); in TestChromeSubsetter()
/external/tensorflow/tensorflow/python/layers/
Dutils.py128 output_length = input_length
130 output_length = input_length - dilated_filter_size + 1
132 output_length = input_length + dilated_filter_size - 1
133 return (output_length + stride - 1) // stride
136 def conv_input_length(output_length, filter_size, padding, stride): argument
148 if output_length is None:
157 return (output_length - 1) * stride - 2 * pad + filter_size
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/
Dsplit-stats.h30 explicit SplitStats(const int output_length) in SplitStats()
31 : root_node_stats(output_length), in SplitStats()
32 left_node_stats(output_length), in SplitStats()
33 right_node_stats(output_length), in SplitStats()
Dfeature-split-candidate.h30 explicit FeatureSplitCandidate(const int output_length) in FeatureSplitCandidate()
32 split_stats(output_length) {} in FeatureSplitCandidate()
Dnode-stats.h47 explicit NodeStats(const int output_length) in NodeStats()
48 : weight_contribution(output_length, 0.0f), gain(0) {} in NodeStats()
/external/icu/icu4c/source/test/intltest/
Dpunyref.cpp132 punycode_uint *output_length, in punycode_encode() argument
141 max_out = *output_length; in punycode_encode()
211 *output_length = out; in punycode_encode()
220 punycode_uint *output_length, in punycode_decode() argument
231 max_out = *output_length; in punycode_decode()
298 *output_length = out; in punycode_decode()
Dpunyref.h59 punycode_uint *output_length,
90 punycode_uint *output_length,
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dresample_input_audio_file.cc29 size_t output_length = 0; in Read() local
31 destination, samples, output_length), in Read()
33 RTC_CHECK_EQ(samples, output_length); in Read()
/external/syslinux/gpxe/src/drivers/net/
Dpnic.c48 uint16_t *output_length ) { in pnic_command_quiet() argument
64 if ( output_length == NULL ) { in pnic_command_quiet()
71 *output_length = _output_length; in pnic_command_quiet()
89 uint16_t *output_length ) { in pnic_command() argument
93 output_length ); in pnic_command()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java140 int[] output_length, in encode() argument
148 max_out = output_length[0]; in encode()
219 output_length[0] = out; in encode()
299 int[] output_length, in decode() argument
309 max_out = output_length[0]; in decode()
380 output_length[0] = out; in decode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java143 int[] output_length, in encode() argument
151 max_out = output_length[0]; in encode()
222 output_length[0] = out; in encode()
302 int[] output_length, in decode() argument
312 max_out = output_length[0]; in decode()
383 output_length[0] = out; in decode()
/external/tensorflow/tensorflow/core/ops/
Daudio_ops.cc81 DimensionHandle output_length; in SpectrogramShapeFn() local
83 output_length = c->UnknownDim(); in SpectrogramShapeFn()
93 output_length = c->MakeDim(output_length_value); in SpectrogramShapeFn()
99 c->MakeShape({input_channels, output_length, output_channels})); in SpectrogramShapeFn()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dmerge.cc61 size_t output_length = 0; in Process() local
138 output_length = best_correlation_index + input_length_per_channel; in Process()
141 output->AssertSize(output_length); in Process()
143 assert(output->Size() == output_length); in Process()
146 sizeof(temp_data[0]) * output_length); in Process()
156 return output_length - old_length; in Process()
Ddsp_helper.cc296 size_t output_length, int input_rate_hz, in DownsampleTo4kHz() argument
349 output_length, filter_coefficients, filter_length, factor, filter_delay); in DownsampleTo4kHz()
Ddsp_helper.h126 size_t output_length, int input_rate_hz,
/external/libchrome/base/
Drand_util_posix.cc51 void RandBytes(void* output, size_t output_length) { in RandBytes() argument
54 ReadFromFD(urandom_fd, static_cast<char*>(output), output_length); in RandBytes()
Drand_util.h43 BASE_EXPORT void RandBytes(void* output, size_t output_length);
/external/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc120 int output_length = in main() local
128 int result = SaveFile(argv[2], output_buffer, output_length) ? 1 : 0; in main()
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/
Dlocal.py129 output_length = conv_utils.conv_output_length(
131 self.kernel_shape = (output_length, self.kernel_size[0] * input_dim,
141 shape=(output_length, self.filters),
/external/devlib/devlib/utils/
Dandroid.py305 output_length = len(output)
306 if output_length == 3:
311 elif output_length > 3:
314 raise HostError(message.format(output_length - 2))
/external/mesa3d/src/compiler/glsl/glcpp/
Dglcpp-parse.y212 ralloc_asprintf_rewrite_tail (&parser->output, &parser->output_length, "\n");
232 &parser->output_length,
242 &parser->output_length,
262 ralloc_asprintf_rewrite_tail (&parser->output, &parser->output_length, "\n");
438 ralloc_asprintf_rewrite_tail (&parser->output, &parser->output_length, "#%s", $2);
1314 _token_print (&parser->output, &parser->output_length, node->token); in _token_list_print()
1366 parser->output_length = 0; in glcpp_parser_create()
2339 ralloc_asprintf_rewrite_tail(&parser->output, &parser->output_length, in _glcpp_parser_handle_version_declaration()
/external/tensorflow/tensorflow/contrib/signal/python/kernel_tests/
Dspectral_ops_test.py76 output_length = window_length + (num_frames - 1) * hop_length
77 output = np.zeros(output_length)
/external/tensorflow/tensorflow/contrib/learn/python/learn/ops/
Dseq2seq_ops.py60 def seq2seq_inputs(x, y, input_length, output_length, sentinel=None, name=None): argument

12