tf.raw_ops.ExtractVolumePatches
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Extract patches from input and put them in the "depth" output dimension. 3D extension of extract_image_patches.
tf.raw_ops.ExtractVolumePatches(
input, ksizes, strides, padding, name=None
)
Args |
input
|
A Tensor. Must be one of the following types: float32, float64, int32, uint8, int16, int8, int64, bfloat16, uint16, half, uint32, uint64.
5-D Tensor with shape [batch, in_planes, in_rows, in_cols, depth].
|
ksizes
|
A list of ints that has length >= 5.
The size of the sliding window for each dimension of input.
|
strides
|
A list of ints that has length >= 5.
1-D of length 5. How far the centers of two consecutive patches are in
input. Must be: [1, stride_planes, stride_rows, stride_cols, 1].
|
padding
|
A string from: "SAME", "VALID".
The type of padding algorithm to use.
The size-related attributes are specified as follows:
ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1]
strides = [1, stride_planes, strides_rows, strides_cols, 1]
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor. Has the same type as input.
|
如未另行说明,则本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。如需了解详情,请参阅 Google Developers 网站政策。Java 是 Oracle 和/或其关联公司的注册商标。某些内容已根据 Numpy 许可获得了许可。
最后更新时间 (UTC):2024-04-26。
[null,null,["最后更新时间 (UTC):2024-04-26。"],[],[]]