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)));
 }
Beispiel #2
0
 public Tensor Pow(Tensor x, float value)
 {
     return(Out(C.Pow(In(x), In(value, x.Shape))));
 }