AttributeError: log() not found - Multiclass classification with FF code

I’m getting the below while running the code for “Multiclass class classification with FF Network” class. Help me to resolve this.

Code:

Error:

loop of ufunc does not support argument 0 of type csr_matrix which has no callable log method

Hi @sivanagendra.paruchu,
From the snapshot, i can’t clarify what’s getting wrong… can you share your colab notebook?