Skip to content

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

Open

Description

@maweigert

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions