简体   繁体   中英

Implementation of tf.extract_image_patches

Where is the implementation of tf.extract_image_patches ? I checked the tensorflow repository I could not find it.

The file tensorflow/core/kernels/extract_image_patches_op.cc does not contain an implementation.

That's an interesting question. The path is as follows:

At this point, it's getting out of tensorflow source base, because Eigen is from the third-party eigen library ( GitHub mirror ). Its source code is somewhat non-trivially downloaded and linked to tensorflow, but right now we are interested in Eigen::TensorMap::extract_image_patches() function.

Note that particular version of Eigen library may be different in different builds of tensorflow, which you should check in the bazel config.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM