Searched defs:in_size (Results 1 - 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/lite/kernels/
H A Dpadding.h20 inline int ComputePadding(int stride, int in_size, int filter_size, argument
22 int padding = ((out_size - 1) * stride + filter_size - in_size) / 2;
/external/puffin/src/
H A Dbit_reader.h79 // |in_size| IN The size of the input buffer
80 BufferBitReader(const uint8_t* in_buf, size_t in_size) argument
82 in_size_(in_size),
/external/tensorflow/tensorflow/core/kernels/
H A Dops_util.cc37 Status GetBroadcastSize(const int index, const int in_size, const int ksize, argument
41 if (index * stride > in_size) {
56 if (*bindex + ksize > in_size) {
57 *bsize = std::min((in_size - *bindex), ksize);
H A Dimage_resizer_state.h41 inline float CalculateResizeScale(int64 in_size, int64 out_size, argument
44 ? (in_size - 1) / static_cast<float>(out_size - 1)
45 : in_size / static_cast<float>(out_size);
H A Dops_util_test.cc57 int in_size; // Size of the dimension. member in struct:tensorflow::__anon26535::OpsUtilTest::bcast_struct::__anon26538
127 bcast.input.index, bcast.input.in_size, bcast.input.ksize,
135 GetBroadcastSize(bcast.input.index, bcast.input.in_size,
176 // Test index * stride > in_size fails with INVALID_ARGUMENT.
182 // in_size = 3, ksize = 3, stride = 1, pad_size = 0
194 // in_size = 3, ksize = 3, stride = 1, pad_size = 1
206 // in_size = 3, ksize = 3, stride = 1, pad_size = 2
218 // in_size = 3, ksize = 3, stride = 2, pad_size = 0
229 // in_size = 3, ksize = 3, stride = 2, pad_size = 1
240 // in_size
[all...]
H A Dresize_bilinear_op.cc77 const int64 in_size,
85 interpolation[i].upper = std::min(interpolation[i].lower + 1, in_size - 1);
76 compute_interpolation_weights(const int64 out_size, const int64 in_size, const float scale, CachedInterpolation* interpolation) argument
H A Dquantized_resize_bilinear_op_test.cc62 float CalculateResizeScale(int64 in_size, int64 out_size, bool align_corners) { argument
64 ? (in_size - 1) / static_cast<float>(out_size - 1)
65 : in_size / static_cast<float>(out_size);
69 const int64 in_size,
75 const int64 upper = std::min(lower + 1, in_size - 1);
68 GetReferenceWeight(const int64 out_size, const int64 in_size, const int step, const int index, const float scale) argument
H A Dreduction_gpu_kernels.cu.h450 int in_size, Op op, T init,
453 if (in_size <= 4096) {
457 <<<num_blocks, num_threads, 0, cu_stream>>>(in, out, in_size, op, init);
459 } else if (in_size <= 1 << 19) {
461 const int num_blocks = std::min(32, Eigen::divup(in_size, num_threads));
478 in, (T*)temp_storage.flat<int8_t>().data(), in_size, op, init);
497 temp_storage_bytes, in, out, in_size, op, init, cu_stream);
789 const int in_size = in_dim0 * in_dim1 * in_dim2; local
790 LaunchScalarReduction(ctx, out, in, in_size, op, init, cu_stream);
449 LaunchScalarReduction(OpKernelContext* ctx, OUT_T out, IN_T in, int in_size, Op op, T init, const cudaStream_t& cu_stream) argument
/external/brotli/java/org/brotli/wrapper/dec/
H A Ddecoder_jni.cc125 size_t in_size = handle->input_length - handle->input_offset; local
128 handle->state, &in_size, &in, &out_size, nullptr, nullptr);
129 handle->input_offset = handle->input_length - in_size;
/external/brotli/java/org/brotli/wrapper/enc/
H A Dencoder_jni.cc139 size_t in_size = handle->input_last - handle->input_offset; local
142 handle->state, op, &in_size, &in, &out_size, nullptr, nullptr);
143 handle->input_offset = handle->input_last - in_size;
/external/xz-embedded/linux/include/linux/
H A Dxz.h127 * if in_pos is equal to in_size.
129 * in_size.
130 * @in_size: Size of the input buffer
143 size_t in_size; member in struct:xz_buf
/external/xz-embedded/userspace/
H A Dboottest.c42 size_t in_size; local
44 in_size = fread(in, 1, sizeof(in), stdin);
45 ret = decompress(in, in_size, NULL, NULL, out, NULL, &error);
52 size_t in_size; local
55 in_size = fread(in, 1, sizeof(in), stdin);
56 ret = decompress(in, in_size, NULL, &flush, NULL, &in_used, &error);
/external/protobuf/src/google/protobuf/io/
H A Dgzip_stream.cc93 int in_size; local
95 bool ok = sub_stream_->Next(&in, &in_size);
102 zcontext_.avail_in = in_size;
H A Dzero_copy_stream_unittest.cc139 int in_size = size; local
150 if (in_size <= out_size) {
151 memcpy(out, in, in_size);
152 output->BackUp(out_size - in_size);
158 in_size -= out_size;
169 int in_size = 0; local
174 if (!input->Next(&in, &in_size)) {
177 EXPECT_GT(in_size, -1);
178 if (in_size == 0) {
185 if (out_size <= in_size) {
[all...]
/external/xz-embedded/linux/lib/
H A Ddecompress_unxz.c251 STATIC int INIT unxz(unsigned char *in, int in_size, argument
296 b.in_size = in_size;
303 if (b.in_pos == b.in_size && fill != NULL) {
309 in_size = fill(in, XZ_IOBUF_SIZE);
310 if (in_size < 0) {
320 b.in_size = in_size;
/external/e2fsprogs/lib/ext2fs/
H A Dsha256.c198 void ext2fs_sha256(const unsigned char *in, unsigned long in_size, argument
204 sha256_process(&md, in, in_size);
H A Dsha512.c234 void ext2fs_sha512(const unsigned char *in, unsigned long in_size, argument
240 sha512_process(&md, in, in_size);
/external/f2fs-tools/tools/
H A Dsha512.c254 void f2fs_sha512(const unsigned char *in, unsigned long in_size, argument
260 sha512_process(&md, in, in_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());
79 int num_spatial_dims = in_size.size();
84 if (in_size[i] == 1) {
89 // If in_size[i] > 1 but out_size[i] == 1, then we slice out the first
93 int64 gcd = MathUtil::GCD(static_cast<uint64>(in_size[i] - 1),
95 dims.stride[i] = (in_size[i] - 1) / gcd;
144 const int num_spatial_dims, std::vector<int64> in_size,
170 ComputeResizeConvolutionParameters(in_size, out_siz
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
192 ResizeUsingDilationAndConvolutionGradOp( xla::ComputationBuilder* builder, const xla::ComputationDataHandle& grad, const int num_spatial_dims, std::vector<int64> in_size, std::vector<int64> grad_size, const int64 channels) argument
268 std::vector<int64> in_size = {input_shape.dim_size(1), variable
379 std::vector<int64> in_size = {input_shape.dim_size(1), variable
[all...]
/external/vboot_reference/firmware/stub/
H A Dvboot_api_stub.c82 VbError_t VbExDecompress(void *inbuf, uint32_t in_size, argument
/external/vboot_reference/tests/
H A Dvboot_region_tests.c164 VbError_t VbExDecompress(void *inbuf, uint32_t in_size, argument
/external/xz-embedded/linux/lib/xz/
H A Dxz_dec_stream.c171 b->in_size - b->in_pos, s->temp.size - s->temp.pos);
187 size_t *in_pos, size_t in_size)
194 while (*in_pos < in_size) {
319 ret = dec_vli(s, b->in, &b->in_pos, b->in_size);
369 if (b->in_pos == b->in_size)
393 if (b->in_pos == b->in_size)
611 if (b->in_pos == b->in_size)
664 if (b->in_pos == b->in_size)
709 if (b->in_pos == b->in_size) {
791 ret = b->in_pos == b->in_size
186 dec_vli(struct xz_dec *s, const uint8_t *in, size_t *in_pos, size_t in_size) argument
[all...]
/external/libxcam/tests/
H A Dtest-image-blend.cpp294 uint32_t in_size = input_buf_info0.aligned_width * input_buf_info0.aligned_height * 3 / 2; local
312 display, dma_fd0, input_width0, input_height, in_size,
315 display, dma_fd1, input_width0, input_height, in_size,
/external/webp/src/demux/
H A Danim_decode.c348 const size_t in_size = iter.fragment.size; local
357 if (WebPDecode(in, in_size, config) != VP8_STATUS_OK) {
/external/tensorflow/tensorflow/core/framework/
H A Dtensor.cc644 int in_size = DataTypeSize(other.dtype()); local
646 CHECK_NE(in_size, 0);
649 other.shape().num_elements() * in_size);

Completed in 624 milliseconds

12