documenation of num_levels in tfg.image.pyramid.downsample

0
open
maweigert
maweigert
Posted 3 months ago

documenation of num_levels in tfg.image.pyramid.downsample #629

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