예제 #1
0
 def construct(self, mean):
     C.set_seed(20)
     return C.poisson(self.shape, mean, self.seed)
예제 #2
0
 def construct(self, mean):
     s1 = C.poisson(self.shape, mean, self.seed)
     s2 = C.poisson(self.shape, mean, self.seed)
     s3 = C.poisson(self.shape, mean, self.seed)
     return s1, s2, s3
예제 #3
0
 def construct(self, mean):
     return C.poisson(self.shape, mean, self.seed)