예제 #1
0
 public Tensor pow(Tensor x, Tensor p, string name = null)
 {
     log(new { x, p });
     if (name == null)
     {
         return(Out(C.Pow(In(x), In(p))));
     }
     return(Out(C.Pow(In(x), In(p), name: name)));
 }
예제 #2
0
 public Tensor Pow(Tensor x, float value)
 {
     return(Out(C.Pow(In(x), In(value, x.Shape))));
 }