Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | List of all members
torch.distributions.constraints._IntegerInterval Class Reference
Inheritance diagram for torch.distributions.constraints._IntegerInterval:
torch.distributions.constraints.Constraint

Public Member Functions

def __init__ (self, lower_bound, upper_bound)
 
def check (self, value)
 
def __repr__ (self)
 
- Public Member Functions inherited from torch.distributions.constraints.Constraint
def check (self, value)
 
def __repr__ (self)
 

Public Attributes

 lower_bound
 
 upper_bound
 

Detailed Description

Constrain to an integer interval `[lower_bound, upper_bound]`.

Definition at line 105 of file constraints.py.


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