Home
last modified time | relevance | path

Searched refs:output_size (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/external/XNNPACK/test/
Dresize-bilinear-nhwc.cc16 .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 …]
Dresize-bilinear-nchw.cc16 .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/
Dnir_opcodes.c298 .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/
Drnn.cc80 size_t output_size) { in GetPreprocessedFcWeights() argument
81 if (output_size == 1) { in GetPreprocessedFcWeights()
85 const size_t input_size = rtc::CheckedDivExact(weights.size(), output_size); in GetPreprocessedFcWeights()
87 for (size_t o = 0; o < output_size; ++o) { in GetPreprocessedFcWeights()
90 static_cast<float>(weights[i * output_size + o]); in GetPreprocessedFcWeights()
104 size_t output_size) { in GetPreprocessedGruTensor() argument
108 rtc::CheckedDivExact(tensor_src.size(), output_size * kNumGruGates); in GetPreprocessedGruTensor()
109 const size_t stride_src = kNumGruGates * output_size; in GetPreprocessedGruTensor()
110 const size_t stride_dst = n * output_size; in GetPreprocessedGruTensor()
113 for (size_t o = 0; o < output_size; ++o) { in GetPreprocessedGruTensor()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dconv_grad_size_util.cc40 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{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 output_size, int64 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/
Dfractional_max_pool_op.cc83 std::vector<int> output_size(tensor_in_and_out_dims); in Compute() local
91 output_size[i] = in Compute()
93 DCHECK_GT(output_size[i], 0); in Compute()
101 height_cum_seq = GeneratePoolingSequence(input_size[1], output_size[1], in Compute()
103 width_cum_seq = GeneratePoolingSequence(input_size[2], output_size[2], in Compute()
110 TensorShape({output_size[0], output_size[1], in Compute()
111 output_size[2], output_size[3]}), in Compute()
128 EigenMatrixMap out_mat(output_tensor->flat<T>().data(), output_size[3], in Compute()
129 output_size[2] * output_size[1] * output_size[0]); in Compute()
165 (b * output_size[1] + hs) * output_size[2] + ws; in Compute()
[all …]
Dstateful_random_ops_cpu_gpu.h39 uint64 output_size) { in SkipPhiloxRandom() argument
43 auto delta = output_size * 256; in SkipPhiloxRandom()
49 uint64 output_size, in UpdateMemWithPhiloxRandom() argument
51 auto new_philox = SkipPhiloxRandom(philox, output_size); in UpdateMemWithPhiloxRandom()
56 PhiloxRandom::ResultType const& counter, uint64 output_size, in UpdateCounterMemWithPhiloxRandom() argument
59 auto new_philox = SkipPhiloxRandom(philox, output_size); in UpdateCounterMemWithPhiloxRandom()
80 int64 output_size; member
Dfractional_avg_pool_op.cc80 std::vector<int> output_size(tensor_in_and_out_dims); in Compute() local
86 output_size[i] = in Compute()
88 DCHECK_GT(output_size[i], 0); in Compute()
96 row_cum_seq = GeneratePoolingSequence(input_size[1], output_size[1], in Compute()
98 col_cum_seq = GeneratePoolingSequence(input_size[2], output_size[2], in Compute()
105 TensorShape({output_size[0], output_size[1], in Compute()
106 output_size[2], output_size[3]}), in Compute()
122 EigenMatrixMap out_mat(output_tensor->flat<T>().data(), output_size[3], in Compute()
123 output_size[2] * output_size[1] * output_size[0]); in Compute()
162 (b * output_size[1] + hs) * output_size[2] + ws; in Compute()
Ddynamic_stitch_op_gpu.cu.cc33 const int32 output_size, in DynamicStitchKernel() argument
39 GPU_1D_KERNEL_LOOP(output_index, output_size) { in DynamicStitchKernel()
57 const int32 output_size = first_dim_size * slice_size; in DynamicStitchGPUImpl() local
58 auto config = GetGpuLaunchConfig(output_size, gpu_device); in DynamicStitchGPUImpl()
62 slice_size, output_size, input_indices, in DynamicStitchGPUImpl()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/
Dstream_compression_identity.cc35 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/
Dstream_compression_identity.cc35 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/grpc-grpc/test/core/compression/
Dstream_compression_test.cc75 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/tensorflow/tensorflow/core/framework/
Dkernel_shape_util.cc22 Padding padding_type, int64* output_size, in GetWindowedOutputSizeVerboseV2() argument
37 *output_size = (input_size - effective_filter_size + stride) / stride; in GetWindowedOutputSizeVerboseV2()
41 *output_size = (input_size + *padding_before + *padding_after - in GetWindowedOutputSizeVerboseV2()
46 *output_size = (input_size + stride - 1) / stride; in GetWindowedOutputSizeVerboseV2()
48 std::max(int64{0}, (*output_size - 1) * stride + in GetWindowedOutputSizeVerboseV2()
56 if (*output_size < 0) { in GetWindowedOutputSizeVerboseV2()
58 "Computed output size would be negative: ", *output_size, in GetWindowedOutputSizeVerboseV2()
68 int64* output_size, int64* padding_before, in GetWindowedOutputSizeVerbose() argument
72 padding_type, output_size, in GetWindowedOutputSizeVerbose()
77 Padding padding_type, int64* output_size, in GetWindowedOutputSize() argument
[all …]
/external/tensorflow/tensorflow/core/lib/db/
Dsnapfn.cc113 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/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor_unittest.cpp89 uint32_t output_size = FX_ArraySize(output_data); in TEST() local
93 decompressor->Decode(nullptr, image_size, output_data, &output_size)); in TEST()
95 decompressor->Decode(image_data, 0, output_data, &output_size)); in TEST()
98 decompressor->Decode(image_data, image_size, nullptr, &output_size)); in TEST()
102 output_size = 0; in TEST()
105 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST()
120 uint32_t output_size = FX_ArraySize(output_data); in TEST() local
124 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST()
126 EXPECT_EQ(FX_ArraySize(output_data), output_size); in TEST()
152 uint32_t output_size = FX_ArraySize(output_data); in TEST() local
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_opcodes.py35 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/openscreen/util/
Dbase64.cc25 const size_t output_size = in Encode() local
27 if (output_size == MODP_B64_ERROR) { in Encode()
32 out.resize(output_size); in Encode()
41 const size_t output_size = in Decode() local
43 if (output_size == MODP_B64_ERROR) { in Decode()
48 out.resize(output_size); in Decode()
/external/tensorflow/tensorflow/python/ops/
Dbincount_ops.py127 output_size = math_ops.cast(array_is_nonempty, dtypes.int32) * (
132 output_size = gen_math_ops.maximum(minlength, output_size)
136 output_size = gen_math_ops.minimum(maxlength, output_size)
139 return gen_math_ops.unsorted_segment_sum(weights, arr, output_size)
141 return gen_math_ops.bincount(arr, output_size, weights)
167 output_size = math_ops.cast(array_is_nonempty, arr.dtype) * (
170 output_size = math_ops.cast(array_is_nonempty, arr.dtype) * (
175 output_size = gen_math_ops.maximum(minlength, output_size)
179 output_size = gen_math_ops.minimum(maxlength, output_size)
201 size=output_size,
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dmultinomial.cc38 IntegralType* outputs, int output_size) { in MultinomialSample() argument
60 for (int i = 0; i < output_size; i++) { in MultinomialSample()
78 int output_size) { in MultinomialSample() argument
83 GetTensorData<int32_t>(output) + outputs_offset, output_size); in MultinomialSample()
88 GetTensorData<int64_t>(output) + outputs_offset, output_size); in MultinomialSample()
102 int outputs_offset, int output_size) { in MultinomialSample() argument
113 logits_size, output, outputs_offset, output_size)); in MultinomialSample()
120 logits_size, output, outputs_offset, output_size)); in MultinomialSample()
179 int output_size = *num_samples_input->data.i32; in Eval() local
185 int output_offset = output_size * batch; in Eval()
[all …]
Drandom_standard_normal.cc37 Float* output, size_t output_size) { in RandomStandardNormalSample() argument
39 for (Float* it = output; it != output + output_size; ++it) { in RandomStandardNormalSample()
48 size_t output_size) { in RandomStandardNormalSample() argument
53 rng, GetTensorData<float>(output), output_size)); in RandomStandardNormalSample()
58 rng, GetTensorData<double>(output), output_size)); in RandomStandardNormalSample()
108 size_t output_size = tflite::NumElements(output); in Eval() local
111 output, output_size)); in Eval()
Dlocal_response_norm.cc53 TfLiteIntArray* output_size = TfLiteIntArrayCreate(4); in Prepare() local
54 output_size->data[0] = input->dims->data[0]; in Prepare()
55 output_size->data[1] = input->dims->data[1]; in Prepare()
56 output_size->data[2] = input->dims->data[2]; in Prepare()
57 output_size->data[3] = input->dims->data[3]; in Prepare()
59 return context->ResizeTensor(context, output, output_size); in Prepare()
/external/libchrome/base/
Dbase64.cc18 size_t output_size = modp_b64_encode(&(temp[0]), input.data(), input.size()); in Base64Encode() local
20 temp.resize(output_size); // strips off null byte in Base64Encode()
30 size_t output_size = modp_b64_decode(&(temp[0]), input.data(), input_size); in Base64Decode() local
31 if (output_size == MODP_B64_ERROR) in Base64Decode()
34 temp.resize(output_size); in Base64Decode()
/external/tensorflow/tensorflow/python/kernel_tests/
Ddepthwise_conv_op_test.py680 for index, (input_size, filter_size, output_size, stride,
695 output_size,
706 for index, (input_size, filter_size, output_size, stride,
718 output_size,
728 output_size,
742 for index, (input_size, filter_size, output_size, stride,
755 output_size,
766 for index, (input_size, filter_size, output_size, stride, padding,
781 output_size,
793 for index, (input_size, filter_size, output_size, stride,
[all …]
/external/bsdiff/
Dbz2_decompressor.cc50 size_t output_size = std::min<size_t>( in Read() local
52 stream_.avail_out = output_size; in Read()
57 LOG(ERROR) << "Failed to decompress " << output_size in Read()
61 bytes_to_output -= (output_size - stream_.avail_out); in Read()
63 output_size == stream_.avail_out) { in Read()
/external/pigweed/pw_varint/
Dvarint_test_c.c24 size_t output_size) { in pw_varint_CallEncode() argument
25 return pw_varint_Encode(integer, output, output_size); in pw_varint_CallEncode()
30 size_t output_size) { in pw_varint_CallZigZagEncode() argument
31 return pw_varint_ZigZagEncode(integer, output, output_size); in pw_varint_CallZigZagEncode()

12345678910>>...16