Home
last modified time | relevance | path

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

/frameworks/ml/nn/tools/test_generator/tests/P_vts_variation/
Dconv_float.mod.py41 relu = ActivationConverter("relu").Identify([output], [act])
42 relu6 = ActivationConverter("relu6").Identify([output], [act])
/frameworks/ml/nn/tools/test_generator/tests/P_vts_naming/
Dconv_float.mod.py42 relu = ActivationConverter("relu", name="act").Identify([output], [act])
43 relu6 = ActivationConverter("relu6").Identify([output], [act])
/frameworks/ml/nn/tools/test_generator/tests/P_naming/
Dconv_float.mod.py42 relu = ActivationConverter("relu", name="act").Identify([output], [act])
43 relu6 = ActivationConverter("relu6").Identify([output], [act])
/frameworks/ml/nn/tools/test_generator/
DREADME.md120 - ActivationConverter
187 #### ActivationConverter subsubsection
192 converter = ActivationConverter(name="variation_name").Identify(
316 # ActivationConverter
317 example.AddVariations(ActivationConverter("relu").Identify(op_list))
322 ActivationConverter("relu").Identify(op_list),
323 ActivationConverter("relu1").Identify(op_list),
324 ActivationConverter("relu6").Identify(op_list))
Dtest_generator.py955 class ActivationConverter(ModelVariation, ImplicitVariation): class
966 assert ActivationConverter.IsCompatible(self.act)
967 self.enum = ActivationConverter.actMap[self.act][0]
968 self.low = ActivationConverter.actMap[self.act][1]
969 self.high = ActivationConverter.actMap[self.act][2]
973 return value.lower() in ActivationConverter.actMap.keys()
1158 var = ActivationConverter("relu").Identify(args)
1163 var = [ActivationConverter(i).Identify(args)
1164 for i in sorted(ActivationConverter.actMap.keys())]
1405 ActivationConverter=ActivationConverter,
Dspec_visualizer.py35 from test_generator import ActivationConverter