How to create tensorflow RaggedTensor from python list?

442 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 answers

0
Andrey On BEST ANSWER

Its simple:

tf.ragged.constant(list)