예제 #1
0
        NdArray ForwardCpu(NdArray val)
        {
            NdArray result = val.Clone();

            result.ParentFunc = this;
            result.Reshape(this.Shape);

            return(result);
        }
예제 #2
0
        NdArray ForwardCpu([NotNull] NdArray val)
        {
            NdArray result = val.Clone();

            result.ParentFunc = this;
            result.Reshape(false, Shape);

            return(result);
        }
예제 #3
0
 private static NdArray kNN(NdArray input)
 {
     return(ComputeTargets(input, input.Clone()));
 }
예제 #4
0
 private static NdArray kNN(NdArray input)
 {
     return ComputeTargets(input, input.Clone());
 }