Home
last modified time | relevance | path

Searched refs:patch_size (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Doptical_flow.cc237 const int patch_size = 2 * kFlowIntegrationWindowSize + 1; in FindFlowAtPoint_ESM() local
241 patch_size, patch_size, vals_I) || in FindFlowAtPoint_ESM()
243 patch_size, patch_size, in FindFlowAtPoint_ESM()
246 patch_size, patch_size, in FindFlowAtPoint_ESM()
266 (left_trunc + patch_size) < img_J.width_less_one_ && in FindFlowAtPoint_ESM()
267 (top_trunc + patch_size) < img_J.height_less_one_) { in FindFlowAtPoint_ESM()
273 for (int y = 0; y < patch_size; ++y, j_row += j_stride) { in FindFlowAtPoint_ESM()
274 for (int x = 0; x < patch_size; ++x) { in FindFlowAtPoint_ESM()
292 patch_size, patch_size, in FindFlowAtPoint_ESM()
302 for (int y = 0; y < patch_size; ++y, templ_row += patch_size, in FindFlowAtPoint_ESM()
[all …]
/external/bsdiff/
Dpatch_reader.cc21 bool BsdiffPatchReader::Init(const uint8_t* patch_data, size_t patch_size) { in Init() argument
34 if (patch_size < 32) { in Init()
76 (static_cast<int64_t>(patch_size) - 32 < ctrl_len) || in Init()
77 (static_cast<int64_t>(patch_size) - 32 - ctrl_len < diff_len)) { in Init()
81 << ", patch_size: " << patch_size; in Init()
110 patch_size - offset)) { in Init()
112 << ", patch_size: " << patch_size; in Init()
Dbspatch.cc159 uint64_t patch_size; in bspatch() local
160 patch_file->GetSize(&patch_size); in bspatch()
161 std::vector<uint8_t> patch(patch_size); in bspatch()
162 if (!ReadAll(patch_file, patch.data(), patch_size)) { in bspatch()
168 return bspatch(old_filename, new_filename, patch.data(), patch_size, in bspatch()
179 size_t patch_size, in bspatch() argument
225 return bspatch(old_file, new_file, patch_data, patch_size); in bspatch()
233 size_t patch_size, in bspatch() argument
238 return bspatch(old_file, new_file, patch_data, patch_size); in bspatch()
246 size_t patch_size) { in bspatch() argument
[all …]
Dpatch_reader.h31 bool Init(const uint8_t* patch_data, size_t patch_size);
/external/bsdiff/include/bsdiff/
Dbspatch.h30 size_t patch_size,
38 size_t patch_size,
45 size_t patch_size);
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
Dsliced_wasserstein_impl.py85 def _batch_to_patches(batch, patches_per_image, patch_size): argument
101 hs = patch_size // 2
204 patch_size=7, argument
257 _batch_to_patches(level, patches_per_image, patch_size))
259 _batch_to_patches(level, patches_per_image, patch_size))
264 _batch_to_patches(level, patches_per_image, patch_size))
/external/puffin/src/
Dpuffdiff.cc141 uint64_t patch_size; in PuffDiff() local
142 TEST_AND_RETURN_FALSE(bsdiff_patch->GetSize(&patch_size)); in PuffDiff()
143 Buffer bsdiff_patch_buf(patch_size); in PuffDiff()
Dmain.cc363 uint64_t patch_size; in Main() local
364 TEST_AND_RETURN_FALSE(patch_stream->GetSize(&patch_size)); in Main()
366 Buffer puffdiff_delta(patch_size); in Main()
/external/tensorflow/tensorflow/examples/udacity/
D4_convolutions.ipynb246 "patch_size = 5\n",
263 " [patch_size, patch_size, num_channels, depth], stddev=0.1))\n",
266 " [patch_size, patch_size, depth, depth], stddev=0.1))\n",
/external/tensorflow/tensorflow/core/kernels/
Deigen_spatial_convolutions_test.cc1515 const Index patch_size = patch_depth * patch_rows * patch_cols; in PackRhsHelper() local
1528 (patch_size > block_rows) in PackRhsHelper()
1529 ? (internal::random<Index>(0, patch_size - 10) / 8) * 8 in PackRhsHelper()
1533 Index depth = std::min(block_rows, patch_size - depth_offset); in PackRhsHelper()
1548 "; num_patches=", num_patches, " patch_size=", patch_size, in PackRhsHelper()