to_static_variable

paddle.fluid.dygraph.dygraph_to_static.variable_trans_func. to_static_variable ( x ) [source]

Translate a Python Tensor to PaddlePaddle static graph Tensor