Contents

BNNSGraphCompileOptionsGetOptimizationPreference(_:)

Returns the option for the compiled graph to optimize for either size or performance.

Declaration

func BNNSGraphCompileOptionsGetOptimizationPreference(_ options: bnns_graph_compile_options_t) -> BNNSGraphOptimizationPreference

Parameters

  • options:

    The compilation options object.

Return Value

The optimization preference for the specified compilation options object.

See Also

Specifying and querying compilation options