NdArray ForwardCpu(NdArray val) { NdArray result = val.Clone(); result.ParentFunc = this; result.Reshape(this.Shape); return(result); }
NdArray ForwardCpu([NotNull] NdArray val) { NdArray result = val.Clone(); result.ParentFunc = this; result.Reshape(false, Shape); return(result); }
private static NdArray kNN(NdArray input) { return(ComputeTargets(input, input.Clone())); }
private static NdArray kNN(NdArray input) { return ComputeTargets(input, input.Clone()); }