static*/
| 361 | } |
| 362 | |
| 363 | /*static*/ int64 CpuExecutable::ShapeSizeBytes(const Shape& shape) { |
| 364 | // On the cpu, opaques are pointers. |
| 365 | if (shape.IsOpaque()) { |
| 366 | return sizeof(void*); |
| 367 | } |
| 368 | return ShapeUtil::ByteSizeOf(shape, sizeof(void*)); |
| 369 | } |
| 370 | |
| 371 | const InstructionValueSet& CpuExecutable::GetRootValueSet() const { |
| 372 | return assignment_->dataflow_analysis().GetInstructionValueSet( |
nothing calls this directly
no test coverage detected