Skip to content

try catch block to check tensorflow version is obsolete #2

Description

@vsnupoudel

I believe the following block of code could be removed wherever they appear. It acually flows into the exception.

try:

%tensorflow_version only exists in Colab.

%tensorflow_version 2.x
except Exception:
print('This does not pass')

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