88 def __init__(self, number_of_dims, dims, data_type, fixed_point_position, access_type="Host", in_file_addr="./", out_file_addr="./", name="default") :
89 Reference.__init__(self, Type.TENSOR, name)
97 assert len(dims) == number_of_dims,
"Length of 'dims' parameter does not match 'number_of_dims' parameter" 100 return Reference.__str__(self) +
' [ndims: ' + str(self.
number_of_dims) +
', ' + str(self.
dims[0]) +
'x' +
':' + Type.get_vx_enum_name(self.
data_type) +
' ]'
Tensor object (OpenVX equivalent = vx_tensor, specifically returned from vxCreateTensor) ...
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.