|TensorFlow 1 version||View source on GitHub|
Global Average pooling operation for 3D data.
See Migration guide for more details.
tf.keras.layers.GlobalAveragePooling3D( data_format=None, **kwargs )
data_format='channels_last': 5D tensor with shape:
(batch_size, spatial_dim1, spatial_dim2, spatial_dim3, channels)
data_format='channels_first': 5D tensor with shape:
(batch_size, channels, spatial_dim1, spatial_dim2, spatial_dim3)
2D tensor with shape