bnns_graph_shape_t
The specification of the shape of an argument.
Declaration
struct bnns_graph_shape_tOverview
Use a bnns_graph_shape_t structure to pass the rank and dimensions of tensors to the BNNSGraphContextSetDynamicShapes(_:_:_:_:) function.
Topics
Initializing a graph shape
Specifying a shape’s properties
See Also
Specifying and querying a context’s properties
BNNSGraphContextSetStreamingAdvanceCount(_:_:)BNNSGraphContextSetArgumentType(_:_:)BNNSGraphArgumentTypeBNNSGraphContextSetDynamicShapes(_:_:_:_:)BNNSGraphContextSetBatchSize(_:_:_:)BNNSGraphContextEnableNanAndInfChecks(_:_:)BNNSGraphContextGetWorkspaceSize(_:_:)BNNSGraphContextSetStreamingAdvanceCount(_:_:)