Skip to main content

pyneat.Tensor

Python bindings for Tensor.

Properties

  • dtype
  • layout
  • shape
  • strides_bytes
  • byte_offset
  • device
  • semantic
  • planes
  • read_only
  • storage

Methods

  • is_dense
  • is_composite
  • is_contiguous
  • has_plane
  • contiguous
  • clone
  • cpu
  • cvu
  • mla
  • to_cpu_if_needed
  • validate
  • dense_bytes_tight
  • copy_dense_bytes_tight
  • copy_payload_bytes
  • width
  • height
  • channels
  • image_format
  • is_nv12
  • is_i420
  • debug_string
  • __repr__
  • _from_dlpack_capsule
  • __dlpack__
  • __dlpack_device__