| 45 | } |
| 46 | |
| 47 | Tensor values() { |
| 48 | DataTypeToEnum<T> mapper; |
| 49 | Tensor tensor(mapper.value, {static_cast<int64>(values_.size())}); |
| 50 | CopyVectorToTensor(values_, &tensor); |
| 51 | return tensor; |
| 52 | } |
| 53 | |
| 54 | Tensor dense_shape() { |
| 55 | Tensor tensor(DT_INT64, {static_cast<int64>(dense_shape_.size())}); |
no test coverage detected