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

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

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

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

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