Skip to content

could not run in eager mode? #11

@davy868

Description

@davy868

I find the code below in tf_ops.py
" if len(values.shape) != 2:
raise ValueError("'values' should be a 2d-tensor "
"but got %r." % values.shape)

assert tf.executing_eagerly()
"
so the soft_rank could not run in eager mode in tf2.0?
why?

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