Where is it sold tf.extract_image_patches? I checked the tensorflow repository which I could not find.
tf.extract_image_patches
The file tensorflow/core/kernels/extract_image_patches_op.ccdoes not contain an implementation.
tensorflow/core/kernels/extract_image_patches_op.cc
This is an interesting question. The path is as follows:
The Python tf.extract_image_patchesfunction is implemented in a generated file tensorflow/python/ops/gen_array_ops.pythat calls "ExtractImagePatches"native op.
tensorflow/python/ops/gen_array_ops.py
"ExtractImagePatches"
This op is implemented ExtractImagePatchesOpin core/kernels/extract_image_patches_op.ccfor both processors and GPU devices. The main challenge functor::ExtractImagePatchesForward...
ExtractImagePatchesOp
core/kernels/extract_image_patches_op.cc
functor::ExtractImagePatchesForward
... which is defined in core/kernels/extract_image_patches_op.h. Actual logic is delegated to the ::extract_image_patches()input tensor method . Tensor type TTypes<T, 4>::ConstTensor, which is typedef Eigen::TensorMap core/framework/tensor_types.h.
core/kernels/extract_image_patches_op.h
::extract_image_patches()
TTypes<T, 4>::ConstTensor
Eigen::TensorMap
core/framework/tensor_types.h
, Eigen ( GitHub). , Eigen::TensorMap::extract_image_patches().
Eigen
Eigen::TensorMap::extract_image_patches()
eigen/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h TensorImagePatchOp...
eigen/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h
TensorImagePatchOp
... eigen/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h. , , .
eigen/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h
, Eigen tensorflow, bazel.
Source: https://habr.com/ru/post/1691402/More articles:Executing a shared object file - javaFailed to process the downloaded files for the analytic name - id and version - v1. Check out documentation on how to develop Python analytics - predixHow to get random id value using jQuery? - javascriptMultiple XML tags in SQL - sqlJQuery hides blank space in div - jqueryHow to select rows with corresponding fields in MySQL? - mysqlWhere is the external code (unsupported / Eigen / CXX11 / Tensor) for the TensorFlow github: - tensorflowlogout does not work, caching on nginx, how to allow logout? - djangoJQuery selects DOM elements and accesses internal elements - javascriptPHP with openSSL public parameter cannot be forced into private key - phpAll Articles