MCPcopy Create free account
hub / github.com/apache/arrow / garrow_tensor_equal

Function garrow_tensor_equal

c_glib/arrow-glib/tensor.cpp:214–220  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

212 * Since: 0.4.0
213 */
214gboolean
215garrow_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:

Callers

nothing calls this directly

Calls 2

garrow_tensor_get_rawFunction · 0.85
EqualsMethod · 0.45

Tested by

no test coverage detected