Skip to content

[FEAT] TF2 compatibility #203

@rcabanasdepaz

Description

@rcabanasdepaz

Make compatible with TF2 (non eager) and latest versions of TFP . This will not affect to the API, only internal changes are required.

Some useful code:

# check TF version
int(tf.__version__.split(".")[0]) >= 2

# check eager execution
tf.executing_eagerly()

# disable eager execution
tf.compat.v1.disable_eager_execution()

# get session
tf.compat.v1.get_default_session()

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions