mnn

Module tensor

source
Expand description

MNN::Tensor related items

Structs§

  • A tensor that is owned by the device / gpu platform
  • A tensor that is owned by the cpu / host platform
  • A raw tensor type that doesn’t have any guarantees and will be unconditionally dropped
  • A reference to a any tensor
  • A mutable reference to a any tensor
  • A generic tensor that can of host / device / owned / borrowed
  • A tensor shape

Enums§

  • The type of the tensor dimension
    If you are manually specifying the shapes then this doesn’t really matter
    N -> Batch size C -> Channel H -> Height W -> Width

Traits§