从input 中提取patches 并将它们放入"depth" 输出维度中。 extract_image_patches 的 3D 扩展。
用法
tf.raw_ops.ExtractVolumePatches(
input, ksizes, strides, padding, name=None
)参数
-
input一个Tensor。必须是以下类型之一:float32,float64,int32,uint8,int16,int8,int64,bfloat16,uint16,half,uint32,uint64。形状为[batch, in_planes, in_rows, in_cols, depth]的 5-D 张量。 -
ksizes长度为>= 5的ints列表。input每个维度的滑动窗口大小。 -
strides长度为>= 5的ints列表。长度为 5 的一维。两个连续补丁的中心在input中的距离。必须是:[1, stride_planes, stride_rows, stride_cols, 1]。 -
paddingAstring从:"SAME", "VALID".要使用的填充算法的类型。size-related 属性指定如下:
ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1] strides = [1, stride_planes, strides_rows, strides_cols, 1] -
name操作的名称(可选)。
返回
-
一个
Tensor。具有与input相同的类型。
相关用法
- Python tf.raw_ops.Expm1用法及代码示例
- Python tf.raw_ops.ExpandDims用法及代码示例
- Python tf.raw_ops.Exp用法及代码示例
- Python tf.raw_ops.Erf用法及代码示例
- Python tf.raw_ops.Elu用法及代码示例
- Python tf.raw_ops.Equal用法及代码示例
- Python tf.raw_ops.Eig用法及代码示例
- Python tf.raw_ops.TPUReplicatedInput用法及代码示例
- Python tf.raw_ops.Bitcast用法及代码示例
- Python tf.raw_ops.SelfAdjointEigV2用法及代码示例
- Python tf.raw_ops.BatchMatMul用法及代码示例
- Python tf.raw_ops.OneHot用法及代码示例
- Python tf.raw_ops.ResourceScatterNdSub用法及代码示例
- Python tf.raw_ops.ReadVariableXlaSplitND用法及代码示例
- Python tf.raw_ops.GatherV2用法及代码示例
- Python tf.raw_ops.BitwiseAnd用法及代码示例
- Python tf.raw_ops.UniqueWithCounts用法及代码示例
- Python tf.raw_ops.DecodeGif用法及代码示例
- Python tf.raw_ops.Size用法及代码示例
- Python tf.raw_ops.ScatterUpdate用法及代码示例
注:本文由纯净天空筛选整理自tensorflow.org大神的英文原创作品 tf.raw_ops.ExtractVolumePatches。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。
