openvino.experimental.set_element_type#

openvino.experimental.set_element_type(tensor: openvino._pyopenvino.DescriptorTensor, element_type: openvino._pyopenvino.Type) None#

Sets element type for a tensor descriptor in the OV model graph.

Parameters:
  • tensor (openvino.Tensor) – The tensor descriptor whose element type is to be set.

  • element_type (openvino.Type) – A new element type of the tensor descriptor.