Home
last modified time | relevance | path

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

12345678910>>...12

/external/mesa3d/prebuilt-intermediates/nir/
Dnir_opcodes.c174 .output_size = 0,
188 .output_size = 0,
202 .output_size = 1,
216 .output_size = 1,
230 .output_size = 1,
244 .output_size = 1,
258 .output_size = 1,
272 .output_size = 1,
286 .output_size = 1,
300 .output_size = 1,
[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 …]
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()
Dstateful_random_ops_gpu.cu.cc32 Distribution dist, int64 state_size, int64 output_size, in FillKernel() argument
45 .Run(*philox, output_data, output_size, dist); in FillKernel()
50 UpdateMemWithPhiloxRandom(*philox, output_size, state_data); in FillKernel()
56 OpKernelContext* ctx, const GPUDevice& d, int64 output_size, in operator ()() argument
71 int work_element_count = (output_size + kGroupSize - 1) / kGroupSize; in operator ()()
79 Distribution(), state_size, output_size, in operator ()()
Ddynamic_stitch_op_gpu.cu.cc33 const int32 output_size, in DynamicStitchKernel() argument
39 CUDA_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 = GetCudaLaunchConfig(output_size, gpu_device); in DynamicStitchGPUImpl()
62 slice_size, output_size, input_indices, in DynamicStitchGPUImpl()
Dmaxpooling_op_gpu.cu.cc392 const int output_size = batch * channels * pooled_height * pooled_width; in operator ()() local
393 if (output_size == 0) return true; in operator ()()
395 (output_size + kThreadsPerBlock - 1) / kThreadsPerBlock, kThreadsPerBlock, in operator ()()
396 0, d.stream()>>>(output_size, bottom_data, height, width, channels, in operator ()()
411 const int output_size = batch * channels * pooled_height * pooled_width; in operator ()() local
412 if (output_size == 0) return true; in operator ()()
415 <<<(output_size + kThreadsPerBlock - 1) / kThreadsPerBlock, in operator ()()
417 output_size, bottom_data, height, width, channels, pooled_height, in operator ()()
422 <<<(output_size + kThreadsPerBlock - 1) / kThreadsPerBlock, in operator ()()
424 output_size, bottom_data, height, width, channels, pooled_height, in operator ()()
[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/contrib/receptive_field/python/util/
Dgraph_compute_order.py101 node_info[current].output_size)
108 output_size = input_node_size
109 node_info[current] = _node_info(order, node_def, input_size, output_size)
110 return (order, input_size, output_size)
113 output_size = None
137 output_size = None
148 output_size = [None] * 2
149 output_size[0] = _compute_output_resolution(input_size[0], kernel_size_x,
151 output_size[1] = _compute_output_resolution(input_size[1], kernel_size_y,
154 logging.vlog(3, 'output_size = %s', output_size)
[all …]
/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/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/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()
Dstream_compression_gzip.cc39 size_t* output_size, size_t max_output_size, int flush, in gzip_flate() argument
131 if (output_size) { in gzip_flate()
132 *output_size = original_max_output_size - max_output_size; in gzip_flate()
140 size_t* output_size, in grpc_stream_compress_gzip() argument
163 return gzip_flate(gzip_ctx, in, out, output_size, max_output_size, gzip_flush, in grpc_stream_compress_gzip()
170 size_t* output_size, in grpc_stream_decompress_gzip() argument
179 return gzip_flate(gzip_ctx, in, out, output_size, max_output_size, in grpc_stream_decompress_gzip()
/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/mesa3d/src/compiler/nir/
Dnir_opcodes.py34 def __init__(self, name, output_size, output_type, input_sizes, argument
66 assert isinstance(output_size, int)
75 assert 0 <= output_size <= 4
78 if output_size != 0:
82 self.output_size = output_size
107 def opcode(name, output_size, output_type, input_sizes, input_types, argument
110 opcodes[name] = Opcode(name, output_size, output_type, input_sizes,
119 def unop_horiz(name, output_size, output_type, input_size, input_type, argument
121 opcode(name, output_size, output_type, [input_size], [input_type], "",
124 def unop_reduce(name, output_size, output_type, input_type, prereduce_expr, argument
[all …]
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Dcore_rnn_cell.py66 output_size, argument
97 _WEIGHTS_VARIABLE_NAME, [total_arg_size, output_size],
106 _BIAS_VARIABLE_NAME, [output_size],
127 output_size, argument
171 _WEIGHTS_VARIABLE_NAME, [total_arg_size, output_size],
185 _BIAS_VARIABLE_NAME, [output_size],
237 def output_size(self): member in EmbeddingWrapper
238 return self._cell.output_size
313 def output_size(self): member in InputProjectionWrapper
314 return self._cell.output_size
[all …]
/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/lite/kernels/
Dlocal_response_norm.cc49 TfLiteIntArray* output_size = TfLiteIntArrayCreate(4); in Prepare() local
50 output_size->data[0] = input->dims->data[0]; in Prepare()
51 output_size->data[1] = input->dims->data[1]; in Prepare()
52 output_size->data[2] = input->dims->data[2]; in Prepare()
53 output_size->data[3] = input->dims->data[3]; in Prepare()
55 return context->ResizeTensor(context, output, output_size); in Prepare()
Dmirror_pad.cc61 int output_size = 0; member
92 if (output_index >= eval_data->output_size) { in Eval()
169 auto output_size = GetPaddedOutputShape(input_tensor, padding_matrix); in Eval() local
170 if (output_size == nullptr) { in Eval()
174 context->ResizeTensor(context, output_tensor, output_size.release())); in Eval()
202 eval_data.output_size = NumElements(output_tensor); \ in Eval()
258 auto output_size = GetPaddedOutputShape(input_tensor, padding_matrix); in Prepare() local
259 if (output_size == nullptr) { in Prepare()
262 return context->ResizeTensor(context, output_tensor, output_size.release()); in Prepare()
Dspace_to_depth.cc66 TfLiteIntArray* output_size = TfLiteIntArrayCreate(4); in Prepare() local
67 output_size->data[0] = input->dims->data[0]; in Prepare()
68 output_size->data[1] = output_height; in Prepare()
69 output_size->data[2] = output_width; in Prepare()
70 output_size->data[3] = input->dims->data[3] * block_size * block_size; in Prepare()
72 return context->ResizeTensor(context, output, output_size); in Prepare()
Dresize_bilinear.cc43 TfLiteIntArray* output_size = TfLiteIntArrayCreate(4); in ResizeOutputTensor() local
44 output_size->data[0] = input->dims->data[0]; in ResizeOutputTensor()
46 output_size->data[1] = size_data[0]; in ResizeOutputTensor()
47 output_size->data[2] = size_data[1]; in ResizeOutputTensor()
48 output_size->data[3] = input->dims->data[3]; in ResizeOutputTensor()
49 return context->ResizeTensor(context, output, output_size); in ResizeOutputTensor()
/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/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_unseal_privacy_integrity_crypter.cc37 size_t data_size, size_t* output_size, in unseal_check() argument
42 output_size, error_details); in unseal_check()
59 size_t data_size, size_t* output_size, char** error_details) { in alts_unseal_crypter_process_in_place() argument
61 data_size, output_size, error_details); in alts_unseal_crypter_process_in_place()
72 output_size, error_details); in alts_unseal_crypter_process_in_place()
Dalts_seal_privacy_integrity_crypter.cc37 size_t* output_size, char** error_details) { in seal_check() argument
41 output_size, error_details); in seal_check()
63 size_t data_size, size_t* output_size, char** error_details) { in alts_seal_crypter_process_in_place() argument
65 output_size, error_details); in alts_seal_crypter_process_in_place()
76 output_size, error_details); in alts_seal_crypter_process_in_place()
/external/webp/src/enc/
Dalpha_enc.c120 size_t output_size = 0; in EncodeAlphaInternal() local
143 output_size = VP8LBitWriterNumBytes(&tmp_bw); in EncodeAlphaInternal()
144 if (output_size > data_size) { in EncodeAlphaInternal()
157 output_size = data_size; in EncodeAlphaInternal()
165 VP8BitWriterInit(&result->bw, ALPHA_HEADER_LEN + output_size); in EncodeAlphaInternal()
167 ok = ok && VP8BitWriterAppend(&result->bw, output, output_size); in EncodeAlphaInternal()
238 size_t* const output_size, in ApplyFiltersAndEncode() argument
284 *output_size = VP8BitWriterSize(&best.bw); in ApplyFiltersAndEncode()
295 uint8_t** const output, size_t* const output_size) { in EncodeAlpha() argument
309 assert(output != NULL && output_size != NULL); in EncodeAlpha()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_to_dense_op_py_test.py31 output_size, argument
37 output_size,
140 output_size=[5],
150 output_size=[5],
161 output_size=[5],
169 output_size=[5],
180 output_size=[5],
188 output_size=[5],

12345678910>>...12