Searched refs:scalar_to_tensor (Results 1 – 7 of 7) sorted by relevance
93 root_pi_over_two = cast(sqrt(F.scalar_to_tensor(np.pi)) / 2, dtype(dout))
126 scalar_to_tensor = P.ScalarToTensor() variable
422 tensor_index = F.scalar_to_tensor(int_index, mstype.int64)503 tensor_index = F.scalar_to_tensor(int_index, mstype.int64)841 result = const_utils.scalar_to_tensor(False)
644 def scalar_to_tensor(x): function
56 'desc_inputs': [F.scalar_to_tensor(5.0)],
523 half_root_pi = cast(2 / sqrt(F.scalar_to_tensor(np.pi)), dtype(x))541 half_root_pi = cast(2 / sqrt(F.scalar_to_tensor(np.pi)), dtype(x))
1423 auto scalar_to_tensor = prim::GetPythonOps("ScalarToTensor", "mindspore.ops.operations"); in ParseForLoop() local1424 …auto scalar_to_tensor_node = block->func_graph()->NewCNodeInOrder({NewValueNode(scalar_to_tensor)}… in ParseForLoop()1448 …auto body_scalar_to_tensor_node = body_func_graph->NewCNodeInOrder({NewValueNode(scalar_to_tensor)… in ParseForLoop()