get_strides


Description:

[ CCode ( array_length_pos = 0.1 ) ]
[ Version ( since = "0.3.0" ) ]
public int64[] get_strides ()

Parameters:

this

A Tensor.

n_strides

The number of strides.

Returns:

The strides of the tensor.

It should be freed with g_free when no longer needed.