BNNSGraphCompileOptionsGetOptimizationPreference(_:)
Returns the option for the compiled graph to optimize for either size or performance.
Declaration
func BNNSGraphCompileOptionsGetOptimizationPreference(_ options: bnns_graph_compile_options_t) -> BNNSGraphOptimizationPreferenceParameters
- options:
The compilation options object.
Return Value
The optimization preference for the specified compilation options object.
See Also
Specifying and querying compilation options
bnns_graph_compile_options_tBNNSGraphCompileOptionsMakeDefault()BNNSGraphCompileOptionsDestroy(_:)BNNSGraphCompileOptionsSetOutputPath(_:_:)BNNSGraphCompileOptionsGetOutputPath(_:)BNNSGraphCompileOptionsSetOutputFD(_:_:)BNNSGraphCompileOptionsGetOutputFD(_:)BNNSGraphCompileOptionsSetTargetSingleThread(_:_:)BNNSGraphCompileOptionsGetTargetSingleThread(_:)BNNSGraphCompileOptionsSetOptimizationPreference(_:_:)BNNSGraphOptimizationPreferenceBNNSGraphCompileOptionsSetGenerateDebugInfo(_:_:)BNNSGraphCompileOptionsGetGenerateDebugInfo(_:)BNNSTargetSystemGeneric