Skip to content

Double well tutorial: tf.to_float() does not exist in tf 2.0 anymore #34

@Ginok1

Description

@Ginok1

With the latest version of tensorflow (2.0), the function tf.to_float() is no longer implemented.
This results in an error when compiling the model in the 1D_double_well.ipynb tutorial:

AttributeError: module 'tensorflow' has no attribute 'to_float'

In the previous version 1.15 the function still exists.
With tensorflow 1.15 the tutorial seems to work as intended.

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