| 445 | } |
| 446 | |
| 447 | string XlaCompiler::Argument::ShapeHumanString() const { |
| 448 | if (absl::holds_alternative<TensorShape>(shape)) { |
| 449 | return absl::get<TensorShape>(shape).DebugString(); |
| 450 | } else { |
| 451 | return absl::get<xla::Shape>(shape).DebugString(); |
| 452 | } |
| 453 | } |
| 454 | |
| 455 | XlaCompiler::XlaCompiler(XlaCompiler::Options options) |
| 456 | : options_(options), |
no test coverage detected