Deep.Net


BaseRangesSpec

Namespace: SymTensor

Functions and values

Function or valueDescription
areCoveringWithoutOverlap shp rngs
Signature: shp:ShapeSpecT -> rngs:BaseRangesSpecT list -> bool

True if the BaseRangesSpecTs cover a tensor of the specified shape completely without overlap. All BaseRangesSpecT and the ShapeSpecT must be evaluatable to numeric ranges and a numeric shape respectively.

areOverlapping rngs
Signature: rngs:BaseRangesSpecT list -> bool

True if any two ranges are overlapping. This has complexity O(N^2) currently. All BaseRangesSpec must be evaluateble to numeric ranges.

canEval rng
Signature: rng:BaseRangesSpecT -> bool

True if a BaseRangesSpecT can be evaluated to a numeric range.

check rng
Signature: rng:BaseRangesSpecT -> unit

checks that the BaseRangesSpec is valid

eval rng
Signature: rng:BaseRangesSpecT -> (int64 * int64) list

Evaluates a BaseRangesSpecT to a numeric range.

overlapping a b
Signature: a:BaseRangesSpecT -> b:BaseRangesSpecT -> bool

True if two BaseRangesSpec overlap. Both BaseRangesSpec must be evaluateble to numeric ranges.

tryEval rng
Signature: rng:BaseRangesSpecT -> (int64 * int64) list option

Try to evalualte a BaseRangesSpecT to a numeric range.

Fork me on GitHub