(values, row_splits)
| 78 | depth; or if ragged_rank or inner_shape are incompatible with `pylist`. |
| 79 | """ |
| 80 | def ragged_factory(values, row_splits): |
| 81 | row_splits = constant_op.constant(row_splits, dtype=row_splits_dtype) |
| 82 | return ragged_tensor.RaggedTensor.from_row_splits(values, row_splits, |
| 83 | validate=False) |
| 84 | |
| 85 | with ops.name_scope(name, "RaggedConstant"): |
| 86 | return _constant_value(ragged_factory, constant_op.constant, pylist, dtype, |
no test coverage detected