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:
argument_ref (
ArgumentRef
) –tensor (
ParsedTensorSpec
) –condition (
Optional
[ParsedBoolSpec
]) –
gpflow.experimental.check_shapes.specs.ParsedDimensionSpec#
gpflow.experimental.check_shapes.specs.ParsedFunctionSpec#
- class gpflow.experimental.check_shapes.specs.ParsedFunctionSpec(arguments, notes)[source]#
Bases:
object
- Parameters:
arguments (
Tuple
[ParsedArgumentSpec
,...
]) –notes (
Tuple
[ParsedNoteSpec
,...
]) –
gpflow.experimental.check_shapes.specs.ParsedNoteSpec#
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:
shape (
ParsedShapeSpec
) –note (
Optional
[ParsedNoteSpec
]) –