static */
| 320 | } |
| 321 | |
| 322 | /* static */ Literal LiteralUtil::CreateR1( |
| 323 | const tensorflow::core::Bitmap& values) { |
| 324 | Literal literal( |
| 325 | ShapeUtil::MakeShape(PRED, {static_cast<int64>(values.bits())})); |
| 326 | literal.PopulateR1(values); |
| 327 | return literal; |
| 328 | } |
| 329 | |
| 330 | /* static */ Literal LiteralUtil::CreateR1U8(absl::string_view value) { |
| 331 | Literal literal(ShapeUtil::MakeShape(U8, {static_cast<int64>(value.size())})); |
nothing calls this directly
no test coverage detected