TIOVX User Guide
|
Tensor object (OpenVX equivalent = vx_tensor, specifically returned from vxCreateTensor) More...
Inherits tiovx.reference.Reference.
Public Member Functions | |
def | __init__ (self, number_of_dims, dims, data_type, fixed_point_position, access_type="Host", in_file_addr="./", out_file_addr="./", name="default") |
Constructor used to create this object. More... | |
Tensor object (OpenVX equivalent = vx_tensor, specifically returned from vxCreateTensor)
def tiovx.tensor.Tensor.__init__ | ( | self, | |
number_of_dims, | |||
dims, | |||
data_type, | |||
fixed_point_position, | |||
access_type = "Host" , |
|||
in_file_addr = "./" , |
|||
out_file_addr = "./" , |
|||
name = "default" |
|||
) |
Constructor used to create this object.
number_of_dims | [in] Number of dimensions |
dims | [in] Comma separated list of dimensions in brackets |
data_type | [in] Data type. tiovx::enums::Type |
fixed_point_position | [in] Specifies the fixed point position when the input element type is integer. if 0, calculations are performed in integer math. |
access_type | [in] [optional] Memory access type |
in_file_addr | [in] [optional] In the case of memory accessed from file, the path to the input file |
out_file_addr | [in] [optional] In the case of memory outputted to file, the path to the output file |
name | [in] [optional] Name of the object |