Skip to content

Incorrect generator reference to random normal attribute #2490

Open
@sdonatti

Description

@sdonatti

Short description:

  • Generator tf.random.Generator.from_seed does not have random_normal attribute

Current Behavior:

  • AttributeError: 'Generator' object has no attribute 'random_normal' is thrown

Expected Behavior:

  • It should not throw this exception during run time

Steps To Reproduce:

  • Create GridMask(fill_mode='gaussian_noise', seed=42) layer in a Python script

Version:

  • 0.9.0 | HEAD

Anything else:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions