Backends/SiaNet.Backend.MxNet/Interop/MXNet/CApi.cs
/// <summary>
/// Get the detailed information about data iterator.
/// </summary>
/// <param name="creator">the DataIterCreator.</param>
/// <param name="name">The returned name of the creator.</param>
/// <param name="description">The returned description of the symbol.</param>
/// <param name="num_args">Number of arguments.</param>
/// <param name="arg_names">Name of the arguments.</param>
/// <param name="arg_type_infos">Type informations about the arguments.</param>
/// <param name="arg_descriptions">Description information about the arguments.</param>
/// <returns>0 when success, -1 when failure happens</returns>
Get the detailed information about data iterator.
Get the detailed information about data iterator .
[DllImport(NativeLibrary, CallingConvention = CallingConvention)]
        public static extern int MXDataIterGetIterInfo(DataIterCreator creator,
                                                       out AtomicSymbolCreator name,
                                                       out AtomicSymbolCreator description,
                                                       out mx_uint num_args,
                                                       out AtomicSymbolCreator arg_names,
                                                       out AtomicSymbolCreator arg_type_infos,
                                                       out AtomicSymbolCreator arg_descriptions);
[ DllImport ( NativeLibrary , CallingConvention = CallingConvention ) ] public static extern int MXDataIterGetIterInfo ( DataIterCreator creator , out AtomicSymbolCreator name , out AtomicSymbolCreator description , out mx_uint num_args , out AtomicSymbolCreator arg_names , out AtomicSymbolCreator arg_type_infos , out AtomicSymbolCreator arg_descriptions ) ;
Get the detailed information about data iterator.
Get the detailed information about data iterator .
0 when success, -1 when failure happens
0 when success - 1 when failure happens
creator
DataIterCreator
None
AtomicSymbolCreator
out
mx_uint
out
name
The returned name of the creator.
The returned name of the creator .
description
The returned description of the symbol.
The returned description of the symbol .
num_args
Number of arguments.
Number of arguments .
arg_names
Name of the arguments.
Name of the arguments .
arg_type_infos
Type informations about the arguments.
Type informations about the arguments .
arg_descriptions
Description information about the arguments.
Description information about the arguments .