get_mem_type
Function
Obtains MemType.
C++ Prototype
MemType GetMemType() const
Python Prototype
get_mem_type()
Parameters
None
Usage Example
Obtain the memory type of a tensor.
1 | mem_type = infer_tensor.get_mem_type() |
Parent topic: InferTensor
Obtains MemType.
MemType GetMemType() const
get_mem_type()
None
Obtain the memory type of a tensor.
1 | mem_type = infer_tensor.get_mem_type() |