Skip to content

Tutorial2 issue #3

@ZvonimirBandic

Description

@ZvonimirBandic

In tutorial 2, in code Tutorial2_spirals.py the line 22:

tf.set_random_seed(seed)

causes Attribution error (i.e. AttributeError: module 'tensorflow' has no attribute 'set_random_seed').

Should be replace with:

tf.random.set_seed(seed)

Not sure if this is worth a pull request, I think it is better to add it in issues so future users can find it. If you want
me to create a PR let me know.

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