Skip to main content

Crate shapels

Crate shapels 

Source

Re-exports§

pub use crate::op_groups::AGGR_ALIASES;

Modules§

op_groups

Structs§

Analysis
HoverInfo
ModuleCache
Incremental cache for parsed modules, keyed by normalized file path.
Shape
Shape of a tensor that is shown on hovers and is used to run inference.

Functions§

analyze_file
Analyze a python file with module resolution enabled.
analyze_file_with_cache
analyze_source
analyze_source_at_path
Analyze in-memory source but anchored at a file path so imports can resolve.
analyze_source_at_path_with_cache
analyze_source_with_cache
dims_equal
Check that each dim element in a exactly matches b except when abstract and concrete types are mixed, which is always fine.