| 170 | } |
| 171 | return core::wrap_tensor(ggml_cast(ctx.ggml, value.tensor, GGML_TYPE_F32), value.shape, GGML_TYPE_F32); |
| 172 | } |
| 173 | |
| 174 | bool same_shape(const core::TensorShape & lhs, const core::TensorShape & rhs) { |
| 175 | if (lhs.rank != rhs.rank) { |
| 176 | return false; |
| 177 | } |
nothing calls this directly
no test coverage detected