Skip to main content

Module graph

Module graph 

Source

Modules§

data_type
Selected MPSDataType constants useful for graph inputs and outputs.
padding_style
MPSGraphPaddingStyle constants.
tensor_named_data_layout
MPSGraphTensorNamedDataLayout constants.

Structs§

Convolution2DDescriptor
Convolution2DDescriptorInfo
Plain-Rust configuration for MPSGraphConvolution2DOpDescriptor.
Executable
Safe owner for a compiled MPSGraphExecutable.
Feed
Ordered placeholder feed pairing used for graph execution.
FeedDescription
Feed metadata used to compile a graph into an executable.
Graph
Pooling2DDescriptor
Pooling2DDescriptorInfo
Plain-Rust configuration for MPSGraphPooling2DOpDescriptor.
Tensor

Functions§

data_type_size
Return the byte width of a supported MPSDataType.