Home
last modified time | relevance | path

Searched refs:targetType (Results 1 – 1 of 1) sorted by relevance

/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py719 def __init__(self, targetType=None, name=None, scale=None, zeroPoint=None): argument
721 if targetType is not None:
722 assert DataTypeConverter.IsCompatible(targetType)
723 self.targetType = targetType
732 if self.targetType is not None:
733 self.name = self.targetType.lower()
752 if self.targetType is not None:
753 if self.targetType == "quant8" or self.targetType == "quant8_signed":
754 if self.targetType == "quant8":
763 tensorType = ["TENSOR_" + self.targetType.upper()]
[all …]