gpflow.experimental.check_shapes.specs

Code for specifying expectations around shapes.

gpflow.experimental.check_shapes.specs.ParsedArgumentSpec

class gpflow.experimental.check_shapes.specs.ParsedArgumentSpec(argument_ref: gpflow.experimental.check_shapes.argument_ref.ArgumentRef, shape: gpflow.experimental.check_shapes.specs.ParsedShapeSpec)[source]

Bases: object

Parameters

gpflow.experimental.check_shapes.specs.ParsedDimensionSpec

class gpflow.experimental.check_shapes.specs.ParsedDimensionSpec(constant: Optional[int], variable_name: Optional[str], variable_rank: bool)[source]

Bases: object

Parameters
  • constant (Optional[int]) –

  • variable_name (Optional[str]) –

  • variable_rank (bool) –

gpflow.experimental.check_shapes.specs.ParsedShapeSpec

class gpflow.experimental.check_shapes.specs.ParsedShapeSpec(dims: Tuple[gpflow.experimental.check_shapes.specs.ParsedDimensionSpec, ...])[source]

Bases: object

Parameters

dims (Tuple[ParsedDimensionSpec, ...]) –