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.py368 for pow_op in pow, operator.pow:
370 self.assertTrue(isnan(pow_op(-INF, NAN)))
371 self.assertTrue(isnan(pow_op(-2.0, NAN)))
372 self.assertTrue(isnan(pow_op(-1.0, NAN)))
373 self.assertTrue(isnan(pow_op(-0.5, NAN)))
374 self.assertTrue(isnan(pow_op(-0.0, NAN)))
375 self.assertTrue(isnan(pow_op(0.0, NAN)))
376 self.assertTrue(isnan(pow_op(0.5, NAN)))
377 self.assertTrue(isnan(pow_op(2.0, NAN)))
378 self.assertTrue(isnan(pow_op(INF, NAN)))
[all …]
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc2009 tensorflow::NodeDef* pow_op = tensorflow_graph->add_node(); in ConvertPowOperator() local
2010 pow_op->set_op(op_name); in ConvertPowOperator()
2011 pow_op->set_name(src_op.outputs[0]); in ConvertPowOperator()
2014 *pow_op->add_input() = src_op.inputs[i]; in ConvertPowOperator()
2018 (*pow_op->mutable_attr())["T"].set_type(data_type); in ConvertPowOperator()