GArrow.Tensor – arrow-glib Reference Manual
Packages
arrow-glib
GArrow
Tensor
buffer
tensor
Tensor
equal
get_buffer
get_dimension_name
get_n_dimensions
get_shape
get_size
get_strides
get_value_data_type
get_value_type
is_column_major
is_contiguous
is_mutable
is_row_major
Tensor
Object Hierarchy:
Description:
[
CCode
( type_id =
"garrow_tensor_get_type ()"
) ]
public
class
Tensor
:
Object
Namespace:
GArrow
Package:
arrow-glib
Content:
Properties:
public
Buffer
buffer
{
owned
get
;
construct
; }
public
void
*
tensor
{
construct
; }
Creation methods:
public
Tensor
(
DataType
data_type,
Buffer
data,
int64
[] shape,
int64
[]? strides,
string
[]? dimension_names)
Methods:
public
bool
equal
(
Tensor
other_tensor)
public
Buffer
get_buffer
()
public
unowned
string
get_dimension_name
(
int
i)
public
int
get_n_dimensions
()
public
int64
[]
get_shape
()
public
int64
get_size
()
public
int64
[]
get_strides
()
public
DataType
get_value_data_type
()
public
Type
get_value_type
()
public
bool
is_column_major
()
public
bool
is_contiguous
()
public
bool
is_mutable
()
public
bool
is_row_major
()
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref