How to create tensorflow RaggedTensor from python list?

468 Views Asked by At

I have two-dimensional list (list of lists). I would like to create RaggedTensor from it.

But here is no method to create RaggedTensor from python list.

How to do it ?

1

There are 1 best solutions below

0
On BEST ANSWER

Its simple:

tf.ragged.constant(list)