從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。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
