Tensor Tiling Library
 
Loading...
Searching...
No Matches
TTL_tensor_rw.h File Reference

Go to the source code of this file.

Functions

static char TTL_read_tensor (const TTL_int_char_tensor_t tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static char TTL_read_tensor (const TTL_int_char_tensor_t tensor, const unsigned int x, const unsigned int y)
 
static char TTL_read_tensor (const TTL_int_char_tensor_t tensor, const unsigned int x)
 
static char TTL_read_tensor (const TTL_int_char_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static char TTL_read_tensor (const TTL_int_char_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y)
 
static char TTL_read_tensor (const TTL_int_char_sub_tensor_t sub_tensor, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_char_tensor_t tensor, const char value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_char_tensor_t tensor, const char value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_char_tensor_t tensor, const char value, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_char_sub_tensor_t sub_tensor, const char value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_char_sub_tensor_t sub_tensor, const char value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_char_sub_tensor_t sub_tensor, const char value, const unsigned int x)
 
static uchar TTL_read_tensor (const TTL_int_uchar_tensor_t tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static uchar TTL_read_tensor (const TTL_int_uchar_tensor_t tensor, const unsigned int x, const unsigned int y)
 
static uchar TTL_read_tensor (const TTL_int_uchar_tensor_t tensor, const unsigned int x)
 
static uchar TTL_read_tensor (const TTL_int_uchar_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static uchar TTL_read_tensor (const TTL_int_uchar_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y)
 
static uchar TTL_read_tensor (const TTL_int_uchar_sub_tensor_t sub_tensor, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_uchar_tensor_t tensor, const uchar value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_uchar_tensor_t tensor, const uchar value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_uchar_tensor_t tensor, const uchar value, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_uchar_sub_tensor_t sub_tensor, const uchar value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_uchar_sub_tensor_t sub_tensor, const uchar value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_uchar_sub_tensor_t sub_tensor, const uchar value, const unsigned int x)
 
static int TTL_read_tensor (const TTL_int_int_tensor_t tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static int TTL_read_tensor (const TTL_int_int_tensor_t tensor, const unsigned int x, const unsigned int y)
 
static int TTL_read_tensor (const TTL_int_int_tensor_t tensor, const unsigned int x)
 
static int TTL_read_tensor (const TTL_int_int_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static int TTL_read_tensor (const TTL_int_int_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y)
 
static int TTL_read_tensor (const TTL_int_int_sub_tensor_t sub_tensor, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_int_tensor_t tensor, const int value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_int_tensor_t tensor, const int value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_int_tensor_t tensor, const int value, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_int_sub_tensor_t sub_tensor, const int value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_int_sub_tensor_t sub_tensor, const int value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_int_sub_tensor_t sub_tensor, const int value, const unsigned int x)
 
static uint TTL_read_tensor (const TTL_int_uint_tensor_t tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static uint TTL_read_tensor (const TTL_int_uint_tensor_t tensor, const unsigned int x, const unsigned int y)
 
static uint TTL_read_tensor (const TTL_int_uint_tensor_t tensor, const unsigned int x)
 
static uint TTL_read_tensor (const TTL_int_uint_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static uint TTL_read_tensor (const TTL_int_uint_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y)
 
static uint TTL_read_tensor (const TTL_int_uint_sub_tensor_t sub_tensor, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_uint_tensor_t tensor, const uint value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_uint_tensor_t tensor, const uint value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_uint_tensor_t tensor, const uint value, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_uint_sub_tensor_t sub_tensor, const uint value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_uint_sub_tensor_t sub_tensor, const uint value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_uint_sub_tensor_t sub_tensor, const uint value, const unsigned int x)
 
static short TTL_read_tensor (const TTL_int_short_tensor_t tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static short TTL_read_tensor (const TTL_int_short_tensor_t tensor, const unsigned int x, const unsigned int y)
 
static short TTL_read_tensor (const TTL_int_short_tensor_t tensor, const unsigned int x)
 
static short TTL_read_tensor (const TTL_int_short_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static short TTL_read_tensor (const TTL_int_short_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y)
 
static short TTL_read_tensor (const TTL_int_short_sub_tensor_t sub_tensor, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_short_tensor_t tensor, const short value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_short_tensor_t tensor, const short value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_short_tensor_t tensor, const short value, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_short_sub_tensor_t sub_tensor, const short value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_short_sub_tensor_t sub_tensor, const short value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_short_sub_tensor_t sub_tensor, const short value, const unsigned int x)
 
static ushort TTL_read_tensor (const TTL_int_ushort_tensor_t tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static ushort TTL_read_tensor (const TTL_int_ushort_tensor_t tensor, const unsigned int x, const unsigned int y)
 
static ushort TTL_read_tensor (const TTL_int_ushort_tensor_t tensor, const unsigned int x)
 
static ushort TTL_read_tensor (const TTL_int_ushort_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static ushort TTL_read_tensor (const TTL_int_ushort_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y)
 
static ushort TTL_read_tensor (const TTL_int_ushort_sub_tensor_t sub_tensor, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_ushort_tensor_t tensor, const ushort value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_ushort_tensor_t tensor, const ushort value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_ushort_tensor_t tensor, const ushort value, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_ushort_sub_tensor_t sub_tensor, const ushort value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_ushort_sub_tensor_t sub_tensor, const ushort value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_ushort_sub_tensor_t sub_tensor, const ushort value, const unsigned int x)
 
static long TTL_read_tensor (const TTL_int_long_tensor_t tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static long TTL_read_tensor (const TTL_int_long_tensor_t tensor, const unsigned int x, const unsigned int y)
 
static long TTL_read_tensor (const TTL_int_long_tensor_t tensor, const unsigned int x)
 
static long TTL_read_tensor (const TTL_int_long_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static long TTL_read_tensor (const TTL_int_long_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y)
 
static long TTL_read_tensor (const TTL_int_long_sub_tensor_t sub_tensor, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_long_tensor_t tensor, const long value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_long_tensor_t tensor, const long value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_long_tensor_t tensor, const long value, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_long_sub_tensor_t sub_tensor, const long value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_long_sub_tensor_t sub_tensor, const long value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_long_sub_tensor_t sub_tensor, const long value, const unsigned int x)
 
static ulong TTL_read_tensor (const TTL_int_ulong_tensor_t tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static ulong TTL_read_tensor (const TTL_int_ulong_tensor_t tensor, const unsigned int x, const unsigned int y)
 
static ulong TTL_read_tensor (const TTL_int_ulong_tensor_t tensor, const unsigned int x)
 
static ulong TTL_read_tensor (const TTL_int_ulong_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y, const unsigned int z)
 Read a value from a tensor.
 
static ulong TTL_read_tensor (const TTL_int_ulong_sub_tensor_t sub_tensor, const unsigned int x, const unsigned int y)
 
static ulong TTL_read_tensor (const TTL_int_ulong_sub_tensor_t sub_tensor, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_ulong_tensor_t tensor, const ulong value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_ulong_tensor_t tensor, const ulong value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_ulong_tensor_t tensor, const ulong value, const unsigned int x)
 
static void TTL_write_tensor (const TTL_int_ulong_sub_tensor_t sub_tensor, const ulong value, const unsigned int x, const unsigned int y, const unsigned int z)
 Write a value from a tensor.
 
static void TTL_write_tensor (const TTL_int_ulong_sub_tensor_t sub_tensor, const ulong value, unsigned int x, const unsigned int y)
 
static void TTL_write_tensor (const TTL_int_ulong_sub_tensor_t sub_tensor, const ulong value, const unsigned int x)
 

Function Documentation

◆ TTL_read_tensor() [1/48]

static char TTL_read_tensor ( const TTL_int_char_sub_tensor_t sub_tensor,
const unsigned int x )
inlinestatic

Definition at line 70 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [2/48]

static char TTL_read_tensor ( const TTL_int_char_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 65 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [3/48]

static char TTL_read_tensor ( const TTL_int_char_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_sub_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 59 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [4/48]

static char TTL_read_tensor ( const TTL_int_char_tensor_t tensor,
const unsigned int x )
inlinestatic

Definition at line 42 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [5/48]

static char TTL_read_tensor ( const TTL_int_char_tensor_t tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 37 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [6/48]

static char TTL_read_tensor ( const TTL_int_char_tensor_t tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 31 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [7/48]

static int TTL_read_tensor ( const TTL_int_int_sub_tensor_t sub_tensor,
const unsigned int x )
inlinestatic

Definition at line 318 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [8/48]

static int TTL_read_tensor ( const TTL_int_int_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 313 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [9/48]

static int TTL_read_tensor ( const TTL_int_int_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_sub_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 307 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [10/48]

static int TTL_read_tensor ( const TTL_int_int_tensor_t tensor,
const unsigned int x )
inlinestatic

Definition at line 290 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [11/48]

static int TTL_read_tensor ( const TTL_int_int_tensor_t tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 285 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [12/48]

static int TTL_read_tensor ( const TTL_int_int_tensor_t tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 280 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [13/48]

static long TTL_read_tensor ( const TTL_int_long_sub_tensor_t sub_tensor,
const unsigned int x )
inlinestatic

Definition at line 816 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [14/48]

static long TTL_read_tensor ( const TTL_int_long_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 811 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [15/48]

static long TTL_read_tensor ( const TTL_int_long_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_sub_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 805 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [16/48]

static long TTL_read_tensor ( const TTL_int_long_tensor_t tensor,
const unsigned int x )
inlinestatic

Definition at line 788 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [17/48]

static long TTL_read_tensor ( const TTL_int_long_tensor_t tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 783 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [18/48]

static long TTL_read_tensor ( const TTL_int_long_tensor_t tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 777 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [19/48]

static short TTL_read_tensor ( const TTL_int_short_sub_tensor_t sub_tensor,
const unsigned int x )
inlinestatic

Definition at line 566 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [20/48]

static short TTL_read_tensor ( const TTL_int_short_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 561 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [21/48]

static short TTL_read_tensor ( const TTL_int_short_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_sub_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 555 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [22/48]

static short TTL_read_tensor ( const TTL_int_short_tensor_t tensor,
const unsigned int x )
inlinestatic

Definition at line 538 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [23/48]

static short TTL_read_tensor ( const TTL_int_short_tensor_t tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 533 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [24/48]

static short TTL_read_tensor ( const TTL_int_short_tensor_t tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 527 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [25/48]

static uchar TTL_read_tensor ( const TTL_int_uchar_sub_tensor_t sub_tensor,
const unsigned int x )
inlinestatic

Definition at line 194 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [26/48]

static uchar TTL_read_tensor ( const TTL_int_uchar_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 189 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [27/48]

static uchar TTL_read_tensor ( const TTL_int_uchar_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_sub_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 183 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [28/48]

static uchar TTL_read_tensor ( const TTL_int_uchar_tensor_t tensor,
const unsigned int x )
inlinestatic

Definition at line 166 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [29/48]

static uchar TTL_read_tensor ( const TTL_int_uchar_tensor_t tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 161 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [30/48]

static uchar TTL_read_tensor ( const TTL_int_uchar_tensor_t tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 155 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [31/48]

static uint TTL_read_tensor ( const TTL_int_uint_sub_tensor_t sub_tensor,
const unsigned int x )
inlinestatic

Definition at line 442 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [32/48]

static uint TTL_read_tensor ( const TTL_int_uint_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 437 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [33/48]

static uint TTL_read_tensor ( const TTL_int_uint_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_sub_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 431 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [34/48]

static uint TTL_read_tensor ( const TTL_int_uint_tensor_t tensor,
const unsigned int x )
inlinestatic

Definition at line 414 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [35/48]

static uint TTL_read_tensor ( const TTL_int_uint_tensor_t tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 409 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [36/48]

static uint TTL_read_tensor ( const TTL_int_uint_tensor_t tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 403 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [37/48]

static ulong TTL_read_tensor ( const TTL_int_ulong_sub_tensor_t sub_tensor,
const unsigned int x )
inlinestatic

Definition at line 940 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [38/48]

static ulong TTL_read_tensor ( const TTL_int_ulong_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 935 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [39/48]

static ulong TTL_read_tensor ( const TTL_int_ulong_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_sub_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 929 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [40/48]

static ulong TTL_read_tensor ( const TTL_int_ulong_tensor_t tensor,
const unsigned int x )
inlinestatic

Definition at line 912 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [41/48]

static ulong TTL_read_tensor ( const TTL_int_ulong_tensor_t tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 907 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [42/48]

static ulong TTL_read_tensor ( const TTL_int_ulong_tensor_t tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 901 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [43/48]

static ushort TTL_read_tensor ( const TTL_int_ushort_sub_tensor_t sub_tensor,
const unsigned int x )
inlinestatic

Definition at line 691 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [44/48]

static ushort TTL_read_tensor ( const TTL_int_ushort_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 686 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [45/48]

static ushort TTL_read_tensor ( const TTL_int_ushort_sub_tensor_t sub_tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_sub_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 680 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [46/48]

static ushort TTL_read_tensor ( const TTL_int_ushort_tensor_t tensor,
const unsigned int x )
inlinestatic

Definition at line 663 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [47/48]

static ushort TTL_read_tensor ( const TTL_int_ushort_tensor_t tensor,
const unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 658 of file TTL_tensor_rw.h.

◆ TTL_read_tensor() [48/48]

static ushort TTL_read_tensor ( const TTL_int_ushort_tensor_t tensor,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Read a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

No bounds checking is performed.

Returns
The value read

Definition at line 652 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [1/48]

static void TTL_write_tensor ( const TTL_int_char_sub_tensor_t sub_tensor,
const char value,
const unsigned int x )
inlinestatic

Definition at line 121 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [2/48]

static void TTL_write_tensor ( const TTL_int_char_sub_tensor_t sub_tensor,
const char value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 109 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [3/48]

static void TTL_write_tensor ( const TTL_int_char_sub_tensor_t sub_tensor,
const char value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 115 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [4/48]

static void TTL_write_tensor ( const TTL_int_char_tensor_t tensor,
const char value,
const unsigned int x )
inlinestatic

Definition at line 95 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [5/48]

static void TTL_write_tensor ( const TTL_int_char_tensor_t tensor,
const char value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 84 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [6/48]

static void TTL_write_tensor ( const TTL_int_char_tensor_t tensor,
const char value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 90 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [7/48]

static void TTL_write_tensor ( const TTL_int_int_sub_tensor_t sub_tensor,
const int value,
const unsigned int x )
inlinestatic

Definition at line 369 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [8/48]

static void TTL_write_tensor ( const TTL_int_int_sub_tensor_t sub_tensor,
const int value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 357 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [9/48]

static void TTL_write_tensor ( const TTL_int_int_sub_tensor_t sub_tensor,
const int value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 363 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [10/48]

static void TTL_write_tensor ( const TTL_int_int_tensor_t tensor,
const int value,
const unsigned int x )
inlinestatic

Definition at line 343 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [11/48]

static void TTL_write_tensor ( const TTL_int_int_tensor_t tensor,
const int value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 332 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [12/48]

static void TTL_write_tensor ( const TTL_int_int_tensor_t tensor,
const int value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 338 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [13/48]

static void TTL_write_tensor ( const TTL_int_long_sub_tensor_t sub_tensor,
const long value,
const unsigned int x )
inlinestatic

Definition at line 867 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [14/48]

static void TTL_write_tensor ( const TTL_int_long_sub_tensor_t sub_tensor,
const long value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 855 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [15/48]

static void TTL_write_tensor ( const TTL_int_long_sub_tensor_t sub_tensor,
const long value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 861 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [16/48]

static void TTL_write_tensor ( const TTL_int_long_tensor_t tensor,
const long value,
const unsigned int x )
inlinestatic

Definition at line 841 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [17/48]

static void TTL_write_tensor ( const TTL_int_long_tensor_t tensor,
const long value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 830 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [18/48]

static void TTL_write_tensor ( const TTL_int_long_tensor_t tensor,
const long value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 836 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [19/48]

static void TTL_write_tensor ( const TTL_int_short_sub_tensor_t sub_tensor,
const short value,
const unsigned int x )
inlinestatic

Definition at line 618 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [20/48]

static void TTL_write_tensor ( const TTL_int_short_sub_tensor_t sub_tensor,
const short value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 606 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [21/48]

static void TTL_write_tensor ( const TTL_int_short_sub_tensor_t sub_tensor,
const short value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 612 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [22/48]

static void TTL_write_tensor ( const TTL_int_short_tensor_t tensor,
const short value,
const unsigned int x )
inlinestatic

Definition at line 592 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [23/48]

static void TTL_write_tensor ( const TTL_int_short_tensor_t tensor,
const short value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 580 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [24/48]

static void TTL_write_tensor ( const TTL_int_short_tensor_t tensor,
const short value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 586 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [25/48]

static void TTL_write_tensor ( const TTL_int_uchar_sub_tensor_t sub_tensor,
const uchar value,
const unsigned int x )
inlinestatic

Definition at line 246 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [26/48]

static void TTL_write_tensor ( const TTL_int_uchar_sub_tensor_t sub_tensor,
const uchar value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 234 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [27/48]

static void TTL_write_tensor ( const TTL_int_uchar_sub_tensor_t sub_tensor,
const uchar value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 240 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [28/48]

static void TTL_write_tensor ( const TTL_int_uchar_tensor_t tensor,
const uchar value,
const unsigned int x )
inlinestatic

Definition at line 220 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [29/48]

static void TTL_write_tensor ( const TTL_int_uchar_tensor_t tensor,
const uchar value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 208 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [30/48]

static void TTL_write_tensor ( const TTL_int_uchar_tensor_t tensor,
const uchar value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 214 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [31/48]

static void TTL_write_tensor ( const TTL_int_uint_sub_tensor_t sub_tensor,
const uint value,
const unsigned int x )
inlinestatic

Definition at line 493 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [32/48]

static void TTL_write_tensor ( const TTL_int_uint_sub_tensor_t sub_tensor,
const uint value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 481 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [33/48]

static void TTL_write_tensor ( const TTL_int_uint_sub_tensor_t sub_tensor,
const uint value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 487 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [34/48]

static void TTL_write_tensor ( const TTL_int_uint_tensor_t tensor,
const uint value,
const unsigned int x )
inlinestatic

Definition at line 467 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [35/48]

static void TTL_write_tensor ( const TTL_int_uint_tensor_t tensor,
const uint value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 456 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [36/48]

static void TTL_write_tensor ( const TTL_int_uint_tensor_t tensor,
const uint value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 462 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [37/48]

static void TTL_write_tensor ( const TTL_int_ulong_sub_tensor_t sub_tensor,
const ulong value,
const unsigned int x )
inlinestatic

Definition at line 992 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [38/48]

static void TTL_write_tensor ( const TTL_int_ulong_sub_tensor_t sub_tensor,
const ulong value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 980 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [39/48]

static void TTL_write_tensor ( const TTL_int_ulong_sub_tensor_t sub_tensor,
const ulong value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 986 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [40/48]

static void TTL_write_tensor ( const TTL_int_ulong_tensor_t tensor,
const ulong value,
const unsigned int x )
inlinestatic

Definition at line 966 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [41/48]

static void TTL_write_tensor ( const TTL_int_ulong_tensor_t tensor,
const ulong value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 954 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [42/48]

static void TTL_write_tensor ( const TTL_int_ulong_tensor_t tensor,
const ulong value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 960 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [43/48]

static void TTL_write_tensor ( const TTL_int_ushort_sub_tensor_t sub_tensor,
const ushort value,
const unsigned int x )
inlinestatic

Definition at line 743 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [44/48]

static void TTL_write_tensor ( const TTL_int_ushort_sub_tensor_t sub_tensor,
const ushort value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
sub_tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 731 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [45/48]

static void TTL_write_tensor ( const TTL_int_ushort_sub_tensor_t sub_tensor,
const ushort value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 737 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [46/48]

static void TTL_write_tensor ( const TTL_int_ushort_tensor_t tensor,
const ushort value,
const unsigned int x )
inlinestatic

Definition at line 717 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [47/48]

static void TTL_write_tensor ( const TTL_int_ushort_tensor_t tensor,
const ushort value,
const unsigned int x,
const unsigned int y,
const unsigned int z )
inlinestatic

Write a value from a tensor.

Parameters
tensorA TTL_int_[type]_tensor_t describing the internal tensor.
valueThe value to right
xThe offset in the x dimension
yThe offset in the y dimension
zThe offset in the z dimension

Definition at line 705 of file TTL_tensor_rw.h.

◆ TTL_write_tensor() [48/48]

static void TTL_write_tensor ( const TTL_int_ushort_tensor_t tensor,
const ushort value,
unsigned int x,
const unsigned int y )
inlinestatic

Definition at line 711 of file TTL_tensor_rw.h.