HomeSort by relevance Sort by last modified time
    Searched refs:output_length (Results 1 - 25 of 42) sorted by null

1 2

  /external/tensorflow/tensorflow/core/kernels/
fractional_pool_common.cc 21 int input_length, int output_length, GuardedPhiloxRandom* generator) {
22 std::vector<int64> cum_seq(output_length + 1, 0);
23 std::vector<int64> diff(output_length, 0);
25 double alpha = static_cast<double>(input_length) / output_length;
26 int k = input_length / output_length;
60 double u_max2 = (input_length + 1 - k) / alpha - (output_length - 1);
69 cum_seq[output_length] = input_length + 1;
70 for (int i = 1; i < output_length; ++i) {
74 for (int i = 0; i < output_length; ++i) {
82 int input_length, int output_length, GuardedPhiloxRandom* generator)
    [all...]
fractional_pool_common.h 42 // * output_length: e.g. 5
49 // output_length, randomness plays a role when generating pooling sequence.
56 // * length(generated_diff_pooling_sequence) = output_length
58 // * Let's define floor(input_length / output_length) = K, then
60 // For example, when input_length = 10, output_length = 6, the following are
68 // output_length: See above explanation
73 std::vector<int64> GeneratePoolingSequence(int input_length, int output_length,
  /external/icu/icu4c/source/test/intltest/
punyref.h 59 punycode_uint *output_length,
70 /* the input. The output_length is an in/out argument: the */
90 punycode_uint *output_length,
98 /* output_length is an in/out argument: the caller passes in */
102 /* least output_length values, or it can be a null pointer if the */
110 /* defined above; if not punycode_success, then output_length, */
112 /* decoder will never need to write an output_length greater than */
punyref.cpp 132 punycode_uint *output_length,
141 max_out = *output_length;
211 *output_length = out;
220 punycode_uint *output_length,
231 max_out = *output_length;
298 *output_length = out;
  /external/sfntly/cpp/src/test/
chrome_subsetter.cc 41 int output_length = local
49 EXPECT_GT(output_length, 0);
51 if (output_length > 0) {
60 int byte_count = fwrite(output_buffer, 1, output_length, output_file);
61 EXPECT_EQ(byte_count, output_length);
  /external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/
feature-split-candidate.h 30 explicit FeatureSplitCandidate(const int output_length)
32 split_stats(output_length) {}
split-stats.h 30 explicit SplitStats(const int output_length)
31 : root_node_stats(output_length),
32 left_node_stats(output_length),
33 right_node_stats(output_length),
  /external/libtextclassifier/utils/tflite/
dist_diversification_test.cc 39 std::vector<int> GetOutputIndexes(int output_length) {
41 res.resize(output_length);
76 const int output_length = m.GetOutputLen(); local
77 EXPECT_EQ(output_length, 2);
78 EXPECT_THAT(m.GetOutputIndexes(output_length), testing::ElementsAre(0, 3));
dist_diversification.cc 102 TfLiteTensor& output_length = local
104 TF_LITE_ENSURE_OK(context, context->ResizeTensor(context, &output_length,
136 TfLiteTensor& output_length = local
138 *output_length.data.i32 = indices.size();
token_encoder.cc 102 const TfLiteTensor& output_length = local
105 if (tflite::IsConstantTensor(&output_length)) {
106 return ResizeOutputTensors(context, node, output_length.data.i64[0]);
125 const TfLiteTensor& output_length = local
129 if (!tflite::IsConstantTensor(&output_length)) {
131 context, ResizeOutputTensors(context, node, output_length.data.i64[0]));
  /external/webrtc/webrtc/modules/audio_coding/neteq/tools/
resample_input_audio_file.cc 29 size_t output_length = 0; local
31 destination, samples, output_length),
33 RTC_CHECK_EQ(samples, output_length);
  /external/libchrome/base/
rand_util_posix.cc 52 void RandBytes(void* output, size_t output_length) {
55 ReadFromFD(urandom_fd, static_cast<char*>(output), output_length);
rand_util.h 35 // Fills |output_length| bytes of |output| with random data. Thread-safe.
40 BASE_EXPORT void RandBytes(void* output, size_t output_length);
  /external/grpc-grpc/src/core/ext/transport/chttp2/transport/
bin_decoder.h 51 size_t output_length);
bin_decoder.cc 163 size_t output_length = input_length / 4 * 3; local
179 output_length--;
181 output_length--;
185 output = GRPC_SLICE_MALLOC(output_length);
206 size_t output_length) {
208 grpc_slice output = GRPC_SLICE_MALLOC(output_length);
222 if (GPR_UNLIKELY(output_length >
226 "Base64 decoding failed, output_length %d is longer "
228 static_cast<int>(output_length),
  /external/tensorflow/tensorflow/python/keras/utils/
conv_utils.py 108 output_length = input_length
110 output_length = input_length - dilated_filter_size + 1
112 output_length = input_length + dilated_filter_size - 1
113 return (output_length + stride - 1) // stride
116 def conv_input_length(output_length, filter_size, padding, stride):
120 output_length: integer.
128 if output_length is None:
137 return (output_length - 1) * stride - 2 * pad + filter_size
  /external/tensorflow/tensorflow/python/layers/
utils.py 125 output_length = input_length
127 output_length = input_length - dilated_filter_size + 1
129 output_length = input_length + dilated_filter_size - 1
130 return (output_length + stride - 1) // stride
133 def conv_input_length(output_length, filter_size, padding, stride):
137 output_length: integer.
145 if output_length is None:
154 return (output_length - 1) * stride - 2 * pad + filter_size
  /external/tensorflow/tensorflow/core/ops/
audio_ops.cc 81 DimensionHandle output_length; local
83 output_length = c->UnknownDim();
93 output_length = c->MakeDim(output_length_value);
99 c->MakeShape({input_channels, output_length, output_channels}));
  /external/grpc-grpc/src/core/lib/slice/
percent_encoding.cc 46 size_t output_length = 0; local
53 output_length += unres ? 1 : 3;
61 grpc_slice out = GRPC_SLICE_MALLOC(output_length);
  /external/tensorflow/tensorflow/python/ops/signal/
reconstruction_ops.py 77 output_length = frame_length + frame_step * (frames - 1)
84 output_shape = full_shape([output_length])
153 signal = signal[..., :output_length]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
PunycodeReference.java 143 int[] output_length,
151 max_out = output_length[0];
222 output_length[0] = out;
302 int[] output_length,
312 max_out = output_length[0];
383 output_length[0] = out;
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
PunycodeReference.java 140 int[] output_length,
148 max_out = output_length[0];
219 output_length[0] = out;
299 int[] output_length,
309 max_out = output_length[0];
380 output_length[0] = out;
  /external/webrtc/webrtc/modules/audio_coding/neteq/
merge.cc 61 size_t output_length = 0; local
138 output_length = best_correlation_index + input_length_per_channel;
141 output->AssertSize(output_length);
143 assert(output->Size() == output_length);
146 sizeof(temp_data[0]) * output_length);
156 return output_length - old_length;
  /external/grpc-grpc/test/core/transport/chttp2/
bin_decoder_test.cc 64 size_t output_length) {
66 grpc_slice out = grpc_chttp2_base64_decode_with_length(ss, output_length);
136 // Test output_length longer than max possible output length in
  /external/sfntly/cpp/src/sample/chromium/
chrome_subsetter.cc 120 int output_length = local
128 int result = SaveFile(argv[2], output_buffer, output_length) ? 1 : 0;

Completed in 290 milliseconds

1 2