gpflow.experimental.check_shapes.specs#

Code for specifying expectations around shapes.

Classes#

gpflow.experimental.check_shapes.specs.ParsedArgumentSpec#

class gpflow.experimental.check_shapes.specs.ParsedArgumentSpec(argument_ref, tensor, condition)[source]#

Bases: object

Parameters:

gpflow.experimental.check_shapes.specs.ParsedDimensionSpec#

class gpflow.experimental.check_shapes.specs.ParsedDimensionSpec(constant, variable_name, variable_rank, broadcastable)[source]#

Bases: object

Parameters:
  • constant (Optional[int]) –

  • variable_name (Optional[str]) –

  • variable_rank (bool) –

  • broadcastable (bool) –

gpflow.experimental.check_shapes.specs.ParsedFunctionSpec#

class gpflow.experimental.check_shapes.specs.ParsedFunctionSpec(arguments, notes)[source]#

Bases: object

Parameters:

gpflow.experimental.check_shapes.specs.ParsedNoteSpec#

class gpflow.experimental.check_shapes.specs.ParsedNoteSpec(note)[source]#

Bases: object

Parameters:

note (str) –

gpflow.experimental.check_shapes.specs.ParsedShapeSpec#

class gpflow.experimental.check_shapes.specs.ParsedShapeSpec(dims)[source]#

Bases: object

Parameters:

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

gpflow.experimental.check_shapes.specs.ParsedTensorSpec#

class gpflow.experimental.check_shapes.specs.ParsedTensorSpec(shape, note)[source]#

Bases: object

Parameters: