graphics icon indicating copy to clipboard operation
graphics copied to clipboard

documenation of num_levels in tfg.image.pyramid.downsample

Open maweigert opened this issue 3 years ago • 0 comments

Hi,

The documentation of tfg.image.pyramid.downsample states it to return "A list containing num_levels tensors" but it actually returns a list containing num_levels+1 tensors

import tensorflow as tf 
import tensorflow_graphics as tfg

x = tf.zeros((1,64,64,1))
pyramid = tfg.image.pyramid.downsample(x, num_levels=3)
print(len(pyramid))

4

maweigert avatar Jul 27 '21 22:07 maweigert