parameters: (cnn_network: IENetwork)
return_statement: return ng_function
docstring: Get nGraph function from Inference Engine CNN network.
docstring_summary: Get nGraph function from Inference Engine CNN network.
docstring_tokens: Get nGraph function from Inference Engine CNN network .
function: def function_from_cnn(cnn_network: IENetwork) -> Function:
      """Get nGraph function from Inference Engine CNN network."""
      capsule = cnn_network._get_function_capsule()
      ng_function = Function.from_capsule(capsule)
      return ng_function
function_tokens: def function_from_cnn ( cnn_network : IENetwork ) -> Function : capsule = cnn_network . _get_function_capsule ( ) ng_function = Function . from_capsule ( capsule ) return ng_function