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_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_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/
DREADME.md120 - ActivationConverter
187 #### ActivationConverter subsubsection
192 converter = ActivationConverter(name="variation_name").Identify(
311 # ActivationConverter
312 example.AddVariations(ActivationConverter("relu").Identify(op_list))
317 ActivationConverter("relu").Identify(op_list),
318 ActivationConverter("relu1").Identify(op_list),
319 ActivationConverter("relu6").Identify(op_list))
Dtest_generator.py916 class ActivationConverter(ModelVariation, ImplicitVariation): class
927 assert ActivationConverter.IsCompatible(self.act)
928 self.enum = ActivationConverter.actMap[self.act][0]
929 self.low = ActivationConverter.actMap[self.act][1]
930 self.high = ActivationConverter.actMap[self.act][2]
934 return value.lower() in ActivationConverter.actMap.keys()
1120 var = ActivationConverter("relu").Identify(args)
1125 var = [ActivationConverter(i).Identify(args)
1126 for i in sorted(ActivationConverter.actMap.keys())]
1363 ActivationConverter=ActivationConverter,
Dspec_visualizer.py35 from test_generator import ActivationConverter