| 70 | const std::optional<std::vector<int64_t>> & expected_shape = std::nullopt) const = 0; |
| 71 | [[nodiscard]] virtual std::optional<std::vector<float>> optional_f32( |
| 72 | std::string_view name, |
| 73 | const std::optional<std::vector<int64_t>> & expected_shape = std::nullopt) const = 0; |
| 74 | [[nodiscard]] std::vector<float> require_f32( |
| 75 | std::string_view name, |
| 76 | std::initializer_list<int64_t> expected_shape) const { |
| 77 | return require_f32(name, std::optional<std::vector<int64_t>>(std::vector<int64_t>(expected_shape))); |
| 78 | } |
| 79 | [[nodiscard]] std::optional<std::vector<float>> optional_f32( |
no test coverage detected