[SOLVED] 'TabularModel' object does not support indexing

Hi everyone

I am working on TabularModel recently and wanted to extract second last layer embeddings of the model.

When I use learn.model[x] to index the model, its throwing me the error saying:

‘TabularModel’ object does not support indexing

Is this a bug or intentionally the indexing is disabled?

BR
Abhik

Sorry, its solved now. I got it. We should use learn.model.layers[x].