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§
- A trait to convert any array-like type to a tensor shape
- A tensor that is allocated in the device / gpu platform
- A tensor that is allocated in the cpu / host platform
- A tensor that is mutable
- A tensor that is owned
- A tensor that is borrowed
- A trait to represent the type of a tensor