torch.distributions.constraints._Real Class Reference

Inheritance diagram for torch.distributions.constraints._Real:

## Public Member Functions | |

def | check (self, value) |

Public Member Functions inherited from torch.distributions.constraints.Constraint | |

def | check (self, value) |

def | __repr__ (self) |

Trivially constrain to the extended real line `[-inf, inf]`.

Definition at line 154 of file constraints.py.

The documentation for this class was generated from the following file:

- torch/distributions/constraints.py

Generated on Thu Mar 21 2019 13:06:39 for Caffe2 - Python API by 1.8.11