55022
55023
55024
55025
55026
55027
55028
55029
55030
55031
55032
55033
55034
55035
55036
55037
55038
55039
55040
55041
55042
55043
55044
55045
55046
55047
55048
55049
55050
55051
55052
55053
55054
55055
55056
55057
55058
55059
55060
55061
55062
55063
55064
55065
55066
55067
55068
55069
55070
55071
55072
55073
55074
55075
55076
55077
55078
55079
55080
55081
55082
55083
55084
55085
55086
55087
55088
55089
55090
55091
55092
55093
55094
55095
55096
55097
55098
|
# File 'ext/cntk/cntk_wrap.cxx', line 55022
SWIGINTERN VALUE _wrap_new_MomentumAsTimeConstantSchedule(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[2];
int ii;
argc = nargs;
if (argc > 2) SWIG_fail;
for (ii = 0; (ii < argc); ++ii) {
argv[ii] = args[ii];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_std__pairT_size_t_double_t_std__allocatorT_std__pairT_size_t_double_t_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_MomentumAsTimeConstantSchedule__SWIG_4(nargs, args, self);
}
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_MomentumAsTimeConstantSchedule__SWIG_0(nargs, args, self);
}
}
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_MomentumAsTimeConstantSchedule__SWIG_2(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_std__pairT_size_t_double_t_std__allocatorT_std__pairT_size_t_double_t_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_size_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_MomentumAsTimeConstantSchedule__SWIG_3(nargs, args, self);
}
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_size_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_MomentumAsTimeConstantSchedule__SWIG_1(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "MomentumAsTimeConstantSchedule.new",
" MomentumAsTimeConstantSchedule.new(double value)\n"
" MomentumAsTimeConstantSchedule.new(std::vector< double,std::allocator< double > > const &schedule, size_t epochSize)\n"
" MomentumAsTimeConstantSchedule.new(std::vector< double,std::allocator< double > > const &schedule)\n"
" MomentumAsTimeConstantSchedule.new(std::vector< std::pair< size_t,double >,std::allocator< std::pair< size_t,double > > > const &schedule, size_t epochSize)\n"
" MomentumAsTimeConstantSchedule.new(std::vector< std::pair< size_t,double >,std::allocator< std::pair< size_t,double > > > const &schedule)\n");
return Qnil;
}
|