Versions in this module Expand all Collapse all v1 v1.0.1 Jun 30, 2026 Changes in this version + var ErrShapeInference = errors.New("validate: shape inference failed") + type Option func(*config) + func WithGPUOps(ops []string) Option + func WithInputShapes(shapes map[string][]int) Option + type ShapeError struct + Actual string + Expected string + InputIndex int + NodeName string + OpType string + type UnsupportedOp struct + NodeNames []string + OpType string + type ValidationReport struct + GPUCoverage float64 + ModelPath string + OpCounts map[string]int + PeakMemoryBytes int64 + ShapeErrors []ShapeError + TotalNodes int + UnsupportedOps []UnsupportedOp + Valid bool + func Validate(modelPath string, opts ...Option) (*ValidationReport, error) + func ValidateGraph(g *graph.Graph, opts ...Option) *ValidationReport + func (r *ValidationReport) Summary() string