Contents

BNNSGraphGetInputNames(_:_:_:_:)

Extracts the names of input arguments for the given function argument.

Declaration

func BNNSGraphGetInputNames(_ graph: bnns_graph_t, _ function: UnsafePointer<CChar>?, _ input_names_count: Int, _ input_names: UnsafeMutablePointer<UnsafePointer<CChar>?>) -> Int32

Parameters

  • graph:

    The compiled graph object.

  • function:

    The function. Specify as nil if the graph only contains one function.

  • input_names_count:

    The number of elements in the input_names array.

  • input_names:

    On output, an array of pointers to strings that contain the input names.

Return Value

0 on success, nonzero on failure.

See Also

Querying a graph’s properties