Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_float.py291 for pow_op in pow, operator.pow:
293 self.assertTrue(isnan(pow_op(-INF, NAN)))
294 self.assertTrue(isnan(pow_op(-2.0, NAN)))
295 self.assertTrue(isnan(pow_op(-1.0, NAN)))
296 self.assertTrue(isnan(pow_op(-0.5, NAN)))
297 self.assertTrue(isnan(pow_op(-0.0, NAN)))
298 self.assertTrue(isnan(pow_op(0.0, NAN)))
299 self.assertTrue(isnan(pow_op(0.5, NAN)))
300 self.assertTrue(isnan(pow_op(2.0, NAN)))
301 self.assertTrue(isnan(pow_op(INF, NAN)))
[all …]
/external/python/cpython3/Lib/test/
Dtest_float.py325 for pow_op in pow, operator.pow:
327 self.assertTrue(isnan(pow_op(-INF, NAN)))
328 self.assertTrue(isnan(pow_op(-2.0, NAN)))
329 self.assertTrue(isnan(pow_op(-1.0, NAN)))
330 self.assertTrue(isnan(pow_op(-0.5, NAN)))
331 self.assertTrue(isnan(pow_op(-0.0, NAN)))
332 self.assertTrue(isnan(pow_op(0.0, NAN)))
333 self.assertTrue(isnan(pow_op(0.5, NAN)))
334 self.assertTrue(isnan(pow_op(2.0, NAN)))
335 self.assertTrue(isnan(pow_op(INF, NAN)))
[all …]
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc1975 tensorflow::NodeDef* pow_op = tensorflow_graph->add_node(); in ConvertPowOperator() local
1976 pow_op->set_op(op_name); in ConvertPowOperator()
1977 pow_op->set_name(src_op.outputs[0]); in ConvertPowOperator()
1980 *pow_op->add_input() = src_op.inputs[i]; in ConvertPowOperator()
1984 (*pow_op->mutable_attr())["T"].set_type(data_type); in ConvertPowOperator()