Skip to main content

Module graph

Module graph 

Source
Expand description

Groups MPSGraph framework constants for graph.

Modules§

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

Structs§

Convolution2DDescriptor
Mirrors the MPSGraph framework counterpart for this type.
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
Mirrors the MPSGraph framework counterpart for this type.
Pooling2DDescriptor
Mirrors the MPSGraph framework counterpart for this type.
Pooling2DDescriptorInfo
Plain-Rust configuration for MPSGraphPooling2DOpDescriptor.
Tensor
Mirrors the MPSGraph framework counterpart for this type.

Functions§

data_type_size
Return the byte width of a supported MPSDataType.