def __init__(self, shape, seed=0): super(Sampling, self).__init__() self.b = msd.Beta(np.array([3.0]), np.array([1.0]), seed=seed, dtype=dtype.float32) self.shape = shape
def __init__(self): super(KL, self).__init__() self.b = msd.Beta(np.array([3.0]), np.array([4.0]), dtype=dtype.float32)
def __init__(self): super(Net, self).__init__() self.beta = msd.Beta(np.array([3.0]), np.array([1.0]), dtype=dtype.float32)
def __init__(self): super(CrossEntropy, self).__init__() self.b = msd.Beta(np.array([3.0]), np.array([1.0]), dtype=dtype.float32)