跳转至主要内容

taichi.types.primitive_types#

taichi.types.primitive_types.f16#

Alias for float16

taichi.types.primitive_types.f32#

Alias for float32

taichi.types.primitive_types.f64#

Alias for float64

taichi.types.primitive_types.float16#

16-bit precision floating point data type.

taichi.types.primitive_types.float32#

32-bit single precision floating point data type.

taichi.types.primitive_types.float64#

64-bit double precision floating point data type.

taichi.types.primitive_types.i16#

Alias for int16

taichi.types.primitive_types.i32#

Alias for int32

taichi.types.primitive_types.i64#

Alias for int64

taichi.types.primitive_types.i8#

Alias for int8

taichi.types.primitive_types.int16#

16-bit signed integer data type.

taichi.types.primitive_types.int32#

32-bit signed integer data type.

taichi.types.primitive_types.int64#

64-bit signed integer data type.

taichi.types.primitive_types.int8#

8-bit signed integer data type.

taichi.types.primitive_types.ref(tp)#
taichi.types.primitive_types.u16#

Alias for uint16

taichi.types.primitive_types.u32#

Alias for uint32

taichi.types.primitive_types.u64#

Alias for uint64

taichi.types.primitive_types.u8#

Alias for uint8

taichi.types.primitive_types.uint16#

16-bit unsigned integer data type.

taichi.types.primitive_types.uint32#

32-bit unsigned integer data type.

taichi.types.primitive_types.uint64#

64-bit unsigned integer data type.

taichi.types.primitive_types.uint8#

8-bit unsigned integer data type.