Function TRTSERVER_ServerOptionsSetTensorFlowSoftPlacement¶
Defined in File trtserver.h
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.