예제 #1
0
 public static void TensorToRenderTexture(Tensor x, RenderTexture target,
                                          int batch = 0, int fromChannel = 0, float scale = 1.0f, float bias = 0f)
 {
     x.ToRenderTexture(target, batch, fromChannel, scale, bias);
 }
 public static RenderTexture TensorToRenderTexture(Tensor x,
                                                   int batch = 0, int fromChannel = 0, float scale = 1.0f, float bias = 0f)
 {
     return(x.ToRenderTexture(batch, fromChannel, scale, bias));
 }