Function TRTSERVER_ServerOptionsSetTensorFlowSoftPlacement

Function Documentation

TRTSERVER_Error *TRTSERVER_ServerOptionsSetTensorFlowSoftPlacement(TRTSERVER_ServerOptions *options, bool soft_placement)

Enable or disable TensorFlow soft-placement of operators.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • soft_placement: True to enable, false to disable.