Skip to content

StringLookup does not work on torch.Tensor #21255

@DLumi

Description

@DLumi

keras.layers.StringLookup throws an error when calling on a torch.Tensor or a numpy array (although, both are supposed to be valid backends?)

Colab example:
https://colab.research.google.com/drive/1MYcIsJJuiPcvykC8ifOyE4vQk6aAo2UQ

Am I missing something here, or torch support didn't reach here yet?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions