* garrow_tensor_equal: * @tensor: A #GArrowTensor. * @other_tensor: A #GArrowTensor to be compared. * * Returns: %TRUE if both of them have the same data, %FALSE * otherwise. * * Since: 0.4.0 */
| 212 | * Since: 0.4.0 |
| 213 | */ |
| 214 | gboolean |
| 215 | garrow_tensor_equal(GArrowTensor *tensor, GArrowTensor *other_tensor) |
| 216 | { |
| 217 | const auto arrow_tensor = garrow_tensor_get_raw(tensor); |
| 218 | const auto arrow_other_tensor = garrow_tensor_get_raw(other_tensor); |
| 219 | return arrow_tensor->Equals(*arrow_other_tensor); |
| 220 | } |
| 221 | |
| 222 | /** |
| 223 | * garrow_tensor_get_value_data_type: |
nothing calls this directly
no test coverage detected