Skip to content

What is correct behavior of keras.ops.eye? #20616

Open
@yubori

Description

@yubori

Hi,

I have a question about keras.ops.eye of Keras3.

With Tensorflow, the keras.ops.eye accepts integers and floats.
However, with torch and jax, only integers are accepted.

Which behavior is correct?

There is no limitation description on documents.
Because Keras 2 accepts integers and floats, I was confused with it during migration.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions