0

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 ?

Andrey
  • 5,932
  • 3
  • 17
  • 35

1 Answers1

2

Its simple:

tf.ragged.constant(list)
Andrey
  • 5,932
  • 3
  • 17
  • 35