Searched refs:out_size (Results 1 - 25 of 91) sorted by relevance

1234

/external/tensorflow/tensorflow/contrib/lite/kernels/
H A Dpadding.h21 int out_size) {
22 int padding = ((out_size - 1) * stride + filter_size - in_size) / 2;
20 ComputePadding(int stride, int in_size, int filter_size, int out_size) argument
/external/libxml2/doc/tutorial/
H A Dincludeconvert.c10 int ret,size,out_size,temp;
14 out_size = size*2-1;
15 out = malloc((size_t)out_size);
27 ret = handler->input(out, &out_size, in, &temp);
37 out = realloc(out,out_size+1);
38 out[out_size]=0; /*null terminating out*/
/external/tensorflow/tensorflow/core/kernels/
H A Dgather_functor_gpu.cu.h35 int64 slice_size, int64 out_size) {
36 CUDA_1D_KERNEL_LOOP(i, out_size) {
80 const int64 out_size = out.size(); local
81 if (out_size == 0) {
93 CudaLaunchConfig config = GetCudaLaunchConfig(out_size, d);
99 indices_size, slice_size, out_size);
106 indices_size, slice_size, out_size);
33 GatherOpKernel(const T* params, const Index* indices, T* out, int64 gather_dim_size, int64 indices_size, int64 slice_size, int64 out_size) argument
H A Dlistdiff_op.cc62 int64 out_size = 0; variable
65 ++out_size;
71 OP_REQUIRES_OK(context, context->allocate_output(0, {out_size}, &out));
75 OP_REQUIRES_OK(context, context->allocate_output(1, {out_size}, &indices));
80 OP_REQUIRES(context, p < out_size,
83 " when output Tensor only had ", out_size,
H A Dresize_op_benchmark_test.cc30 Tensor out_size(DT_INT32, TensorShape({2}));
31 auto out_size_flat = out_size.flat<int32>();
38 .Input(test::graph::Constant(g, out_size))
H A Dgather_nd_op_gpu.cu.cc34 const int64 slice_size, const int64 out_size) {
37 CUDA_1D_KERNEL_LOOP(i, out_size) {
75 const int64 out_size = Tout.size(); local
87 CudaLaunchConfig config = GetCudaLaunchConfig(out_size, d);
93 batch_indices, indices_size, s_size, out_size);
30 GatherSliceOpKernel( const T* params, const Index* indices, T* out, const Eigen::array<int64, IXDIM> batch_strides, const Eigen::array<int64, IXDIM> batch_indices, const int64 indices_size, const int64 slice_size, const int64 out_size) argument
H A Dimage_resizer_state.h41 inline float CalculateResizeScale(int64 in_size, int64 out_size, argument
43 return (align_corners && out_size > 1)
44 ? (in_size - 1) / static_cast<float>(out_size - 1)
45 : in_size / static_cast<float>(out_size);
H A Ddynamic_partition_op_gpu.cu.cc66 const int32* size, int32 out_size,
68 int32 N = min(ldg(size), out_size);
72 if (FastBoundsCheck(key, out_size)) out[key] = value;
90 int32 out_size, int32* out) {
92 // So we launch the kernel with size = out_size.
93 // This is valid for correct inputs, because then out_size >= *num_runs.
94 // For wrong inputs, we may have out_size < *num_runs. In this case we will
95 // only handle the first out_size values.
96 CudaLaunchConfig config = GetCudaLaunchConfig(out_size, d);
98 d.stream()>>>(keys, values, num_runs, out_size, ou
65 MoveValuesKernel(const int32* keys, const int32* values, const int32* size, int32 out_size, int32* out) argument
89 MoveValues(const GPUDevice& d, int32* keys, int32* values, int32* num_runs, int32 out_size, int32* out) argument
102 CallGatherKernel(const GPUDevice& d, const T* params, const int32* indices, T* out, int64 gather_dim_size, int64 indices_size, int64 slice_size, int64 out_size) argument
446 int64 out_size = outs[p]->NumElements(); local
[all...]
H A Dmirror_pad_op.cc302 const int64 out_size = in0.dim_size(d) - (before + after); variable
304 OP_REQUIRES(context, before <= out_size && after <= out_size,
308 " greater than ", out_size));
310 OP_REQUIRES(context, before < out_size && after < out_size,
314 " not less than ", out_size));
316 output_shape.AddDim(out_size);
H A Dconv_grad_ops.cc58 int64 out_size = 0, pad_size = 0; local
61 padding, &out_size, &pad_size));
62 if (dim->output_size != out_size) {
65 dim->output_size, ", computed = ", out_size,
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
H A Dimage_resize_ops.cc68 // from in_size to out_size.
77 gtl::ArraySlice<int64> in_size, gtl::ArraySlice<int64> out_size) {
78 CHECK_EQ(in_size.size(), out_size.size());
88 } else if (out_size[i] == 1) {
89 // If in_size[i] > 1 but out_size[i] == 1, then we slice out the first
94 static_cast<uint64>(out_size[i] - 1));
96 dims.kernel_size[i] = (out_size[i] - 1) / gcd;
145 std::vector<int64> out_size, const int64 channels) {
170 ComputeResizeConvolutionParameters(in_size, out_size);
184 if (in_size[i] == 1 && out_size[
76 ComputeResizeConvolutionParameters( gtl::ArraySlice<int64> in_size, gtl::ArraySlice<int64> out_size) argument
142 ResizeUsingDilationAndConvolution( xla::ComputationBuilder* builder, const xla::ComputationDataHandle& input, const int num_spatial_dims, std::vector<int64> in_size, std::vector<int64> out_size, const int64 channels) argument
275 std::vector<int64> out_size; variable
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flags.h49 void SubstituteForFlagValue(const char *s, char *out, uptr out_size);
H A Dsanitizer_flags.cc51 void SubstituteForFlagValue(const char *s, char *out, uptr out_size) { argument
52 char *out_end = out + out_size;
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/
H A Dlayers_dense_variational_test.py147 def _testDenseSetUp(self, layer_class, batch_size, in_size, out_size,
152 kernel_size = [in_size, out_size]
164 bias_size = [out_size]
175 units=out_size,
212 batch_size, in_size, out_size = 2, 3, 4
218 batch_size, in_size, out_size)
267 batch_size, in_size, out_size = 2, 3, 4
273 batch_size, in_size, out_size)
322 batch_size, in_size, out_size = 2, 3, 4
328 batch_size, in_size, out_size, see
[all...]
/external/puffin/src/
H A Dbit_writer.h68 // |out_size| IN The size of the output buffer
69 BufferBitWriter(uint8_t* out_buf, size_t out_size) argument
71 out_size_(out_size),
/external/vboot_reference/firmware/lib/cryptolib/include/
H A Drsa.h74 * [out_size] with the algorithm [algorithm].
78 uint64_t RSAProcessedKeySize(uint64_t algorithm, uint64_t* out_size);
/external/xz-embedded/userspace/
H A Dbuftest.c40 b.out_size = sizeof(out);
H A Dbytetest.c51 b.out_size = uncomp_size < BUFSIZ ? uncomp_size : BUFSIZ;
69 b.out_size = uncomp_size < BUFSIZ
/external/xz-embedded/linux/lib/xz/
H A Dxz_dec_bcj.c53 size_t out_size; member in struct:xz_dec_bcj
403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos);
449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) {
478 if (b->out_pos + s->temp.size < b->out_size)
490 if (b->out_pos < b->out_size) {
494 s->out_size = b->out_size;
497 b->out_size = sizeof(s->temp.buf);
504 b->out_size = s->out_size;
[all...]
/external/webrtc/talk/media/base/
H A Dvideoframe_unittest.h189 size_t out_size = cricket::VideoFrame::SizeOf(frame.GetWidth(), local
191 rtc::scoped_ptr<uint8_t[]> out(new uint8_t[out_size]);
192 frame.CopyToBuffer(out.get(), out_size);
193 return DumpSample(filename, out.get(), out_size);
770 size_t out_size = kWidth * kHeight * 2; local
771 rtc::scoped_ptr<uint8_t[]> outbuf(new uint8_t[out_size + kAlignment]);
775 EXPECT_EQ(out_size, frame1.ConvertToRgbBuffer(cricket::FOURCC_RGBP,
777 out_size, kWidth * 2));
778 EXPECT_TRUE(LoadFrame(out, out_size, cricket::FOURCC_RGBP,
786 size_t out_size local
802 size_t out_size = kWidth * kHeight * 2; local
1006 size_t out_size = 4; local
1043 size_t out_size = 10 * 4; local
1480 size_t out_size = astride * kHeight; local
1798 size_t out_size = kWidth * kHeight * 2; local
1864 size_t out_size = kWidth * kHeight * 3 / 2; local
1907 size_t out_size = cricket::VideoFrame::SizeOf(kWidth, kHeight); local
1912 size_t out_size = 3; local
[all...]
/external/xz-embedded/linux/lib/
H A Ddecompress_unxz.c279 b.out_size = (size_t)-1;
281 b.out_size = XZ_IOBUF_SIZE;
325 if (flush != NULL && (b.out_pos == b.out_size
/external/boringssl/include/openssl/
H A Ddigest.h157 // |EVP_MAX_MD_SIZE|. If |out_size| is not NULL then |*out_size| is set to the
162 unsigned int *out_size);
167 unsigned int *out_size);
171 // are written, which is at most |EVP_MAX_MD_SIZE|. If |out_size| is not NULL
172 // then |*out_size| is set to the number of bytes written. It returns one on
/external/boringssl/src/include/openssl/
H A Ddigest.h157 // |EVP_MAX_MD_SIZE|. If |out_size| is not NULL then |*out_size| is set to the
162 unsigned int *out_size);
167 unsigned int *out_size);
171 // are written, which is at most |EVP_MAX_MD_SIZE|. If |out_size| is not NULL
172 // then |*out_size| is set to the number of bytes written. It returns one on
/external/freetype/src/lzw/
H A Dftzopen.h165 FT_ULong out_size );
/external/google-breakpad/src/client/
H A Dminidump_file_writer.cc123 size_t out_size = sizeof(uint16_t) * out_count; local
124 result = mdstring->CopyIndexAfterObject(out_idx, out, out_size);
150 size_t out_size = sizeof(uint16_t) * out_count; local
151 result = mdstring->CopyIndexAfterObject(out_idx, out, out_size);

Completed in 546 milliseconds

1234