public static DfdiStatus GetValue(DftiDescriptor handle, DftiConfigParam config_param, out DftiConfigValue config_value) { var status = GetValue(handle, config_param, out int config_value_int); config_value = (DftiConfigValue)config_value_int; return(status); }
static extern DfdiStatus DftiComputeForward(DftiDescriptor handle, float[] x_inout);
static extern DfdiStatus DftiComputeForward(DftiDescriptor handle, double[] x_in, double[] x_out);
public static DfdiStatus CommitDescriptor(DftiDescriptor handle) => DftiCommitDescriptor(handle);
static extern DfdiStatus DftiCommitDescriptor(DftiDescriptor handle);
public static DfdiStatus CopyDescriptor(DftiDescriptor original, out DftiDescriptor copy) => DftiCopyDescriptor(original, out copy);
static extern DfdiStatus DftiSetValue(DftiDescriptor handle, DftiConfigParam config_param, float[] config_value);
static extern DfdiStatus DftiComputeBackward(DftiDescriptor handle, float[] x_in, float[] x_out);
static extern DfdiStatus DftiCreateDescriptor(out DftiDescriptor handle, DftiConfigValue precision, DftiConfigValue forward_domain, long dimension, long[] length);
public static DfdiStatus FreeDescriptor(DftiDescriptor handle) => DftiFreeDescriptor(ref handle);
static extern DfdiStatus DftiFreeDescriptor(ref DftiDescriptor handle);
public static DfdiStatus GetValue(DftiDescriptor handle, DftiConfigParam config_param, out double[] config_value) => DftiGetValue(handle, config_param, out config_value);
static extern DfdiStatus DftiGetValue(DftiDescriptor handle, DftiConfigParam config_param, out double[] config_value);
public static DfdiStatus SetValue(DftiDescriptor handle, DftiConfigParam config_param, float[] config_value) => DftiSetValue(handle, config_param, config_value);
static extern DfdiStatus DftiComputeBackward(DftiDescriptor handle, double[] x_inout);
public static DfdiStatus CreateDescriptor(out DftiDescriptor handle, DftiConfigValue precision, DftiConfigValue forward_domain, long dimension, long[] length) => DftiCreateDescriptor(out handle, precision, forward_domain, dimension, length);
public static DfdiStatus ComputeBackward(DftiDescriptor handle, double[] x_inout) => DftiComputeBackward(handle, x_inout);
static extern DfdiStatus DftiCopyDescriptor(DftiDescriptor original, out DftiDescriptor copy);
public static DfdiStatus ComputeBackward(DftiDescriptor handle, float[] x_in, float[] x_out) => DftiComputeBackward(handle, x_in, x_out);
public static DfdiStatus SetValue(DftiDescriptor handle, DftiConfigParam config_param, DftiConfigValue config_value) => DftiSetValue(handle, config_param, (int)config_value);