public Tensor TanhD(Tensor result, Tensor resW, Tensor resG) { Tensor writeTarget = TensorResultBuilder.GetWriteTarget(result, resW, false, resW.Sizes); TensorApplyCPU.TanhD(writeTarget, resW, resG); return(writeTarget); }