public static Symbol GetSymbol(NDArray x) { var hdl = IntPtr.Zero; NativeMethods.MXAutogradGetSymbol(x.GetHandle(), hdl); return(new Symbol(hdl)); }
public Operator PushInput(NDArray ndarray) { if (ndarray == null) { throw new ArgumentNullException(nameof(ndarray)); } _InputNdarrays.Add(ndarray.GetHandle()); return(this); }