Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
faust group
faust
Commits
606b2d82
Commit
606b2d82
authored
4 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Add matfaust.factparams.MHTPParams.
parent
a5704842
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
gen_doc/CMakeLists.txt
+1
-1
1 addition, 1 deletion
gen_doc/CMakeLists.txt
gen_doc/Doxyfile.in
+1
-1
1 addition, 1 deletion
gen_doc/Doxyfile.in
wrapper/python/pyfaust/factparams.py
+4
-3
4 additions, 3 deletions
wrapper/python/pyfaust/factparams.py
with
6 additions
and
5 deletions
gen_doc/CMakeLists.txt
+
1
−
1
View file @
606b2d82
...
...
@@ -31,7 +31,7 @@ if(BUILD_DOCUMENTATION)
string
(
CONCAT DOXYGEN_FILE_PATTERNS
"*.cpp *.hpp *.h *.cu *.hu"
)
endif
()
if
(
BUILD_WRAPPER_MATLAB
)
string
(
CONCAT DOXYGEN_FILE_PATTERNS
${
DOXYGEN_FILE_PATTERNS
}
" Faust.m FaustMulMode.m StoppingCriterion.m ConstraintGeneric.m ConstraintMat.m ConstraintReal.m ConstraintInt.m ConstraintName.m ParamsFact.m ParamsHierarchical.m ParamsPalm4MSA.m FaustFactory.m hadamard.m quickstart.m fft.m bsl.m runtimecmp.m runall.m version.m faust_fact.m ParamsHierarchicalSquareMat.m ParamsHierarchicalRectMat.m license.m omp.m wht.m dft.m eye.m rand.m eigtj.m hierarchical.m fact.m palm4msa.m fgft_givens.m fgft_palm.m svdtj.m splin.m spcol.m proj_gen.m sp.m const.m supp.m hankel.m toeplitz.m circ.m normcol.m normlin.m splincol.m blockdiag.m skperm.m enable_gpu_mod.m isFaust.m poly.m basis.m next.m expm_multiply.m FaustPoly.m "
)
# warning: the space on the end matters
string
(
CONCAT DOXYGEN_FILE_PATTERNS
${
DOXYGEN_FILE_PATTERNS
}
" Faust.m FaustMulMode.m StoppingCriterion.m ConstraintGeneric.m ConstraintMat.m ConstraintReal.m ConstraintInt.m ConstraintName.m ParamsFact.m ParamsHierarchical.m ParamsPalm4MSA.m FaustFactory.m hadamard.m quickstart.m fft.m bsl.m runtimecmp.m runall.m version.m faust_fact.m ParamsHierarchicalSquareMat.m ParamsHierarchicalRectMat.m license.m omp.m wht.m dft.m eye.m rand.m eigtj.m hierarchical.m fact.m palm4msa.m fgft_givens.m fgft_palm.m svdtj.m splin.m spcol.m proj_gen.m sp.m const.m supp.m hankel.m toeplitz.m circ.m normcol.m normlin.m splincol.m blockdiag.m skperm.m enable_gpu_mod.m isFaust.m poly.m basis.m next.m expm_multiply.m FaustPoly.m
MHTPParams.m
"
)
# warning: the space on the end matters
endif
()
if
(
BUILD_WRAPPER_PYTHON
)
string
(
CONCAT DOXYGEN_FILE_PATTERNS
${
DOXYGEN_FILE_PATTERNS
}
"__init__.py factparams.py demo.py tools.py fact.py proj.py poly.py"
)
...
...
This diff is collapsed.
Click to expand it.
gen_doc/Doxyfile.in
+
1
−
1
View file @
606b2d82
...
...
@@ -520,7 +520,7 @@ EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = *faust_MatDense_gpu.h *faust_MatSparse_gpu.h expfiltered*
EXCLUDE_SYMBOLS = mtimes_trans subsasgn get_factor_nonopt reshape ABC ParamsPalm4MSAFGFT UpdateCholesky UpdateCholeskyFull UpdateCholeskySparse greed_omp_chol hierarchical_constends palm4msa_constends is_mat_consistent init_facts stop_crit ParamsPalm4MSAFGFT data_num_cols data_num_rows is_fact_side_left stop_crits
constant_step_size
constraints DISABLED_OPT EXTERNAL_OPT grad_calc_opt_mode init_lambda INTERNAL_OPT is_update_way_R2L is_verbose num_facts
step_size
IDX_IS_FACT_SIDE_LEFT OPT_ARG_NAMES2 OPT_ARG_NAMES DEFAULT_OPT IDX_USE_CSR IDX_NORM2_MAX_ITER IDX_NORM2_THRESHOLD IDX_GRAD_CALC_OPT_MODE IDX_VERBOSITY IDX_CONSTANT_STEP_SIZE IDX_STEP_SIZE IDX_INIT_LAMBDA IDX_IS_UPDATE_WAY_R2L set_FM_mul_mode set_Fv_mul_mode implements HANDLED_FUNCTIONS __array_ufunc__ __array__ __array_function__ asarray check_dev _eyes_like _poly_arr_py _zeros_like Chebyshev to_mex_struct get_default_init_facts IDX_INIT_FACTS
palm4msa_period updating_lambda
EXCLUDE_SYMBOLS = mtimes_trans subsasgn get_factor_nonopt reshape ABC ParamsPalm4MSAFGFT UpdateCholesky UpdateCholeskyFull UpdateCholeskySparse greed_omp_chol hierarchical_constends palm4msa_constends is_mat_consistent init_facts stop_crit ParamsPalm4MSAFGFT data_num_cols data_num_rows is_fact_side_left stop_crits constraints DISABLED_OPT EXTERNAL_OPT grad_calc_opt_mode init_lambda INTERNAL_OPT is_update_way_R2L is_verbose num_facts IDX_IS_FACT_SIDE_LEFT OPT_ARG_NAMES2 OPT_ARG_NAMES DEFAULT_OPT IDX_USE_CSR IDX_NORM2_MAX_ITER IDX_NORM2_THRESHOLD IDX_GRAD_CALC_OPT_MODE IDX_VERBOSITY IDX_CONSTANT_STEP_SIZE IDX_STEP_SIZE IDX_INIT_LAMBDA IDX_IS_UPDATE_WAY_R2L set_FM_mul_mode set_Fv_mul_mode implements HANDLED_FUNCTIONS __array_ufunc__ __array__ __array_function__ asarray check_dev _eyes_like _poly_arr_py _zeros_like Chebyshev to_mex_struct get_default_init_facts IDX_INIT_FACTS
# ConstraintGeneric ConstraintMat ConstraintReal ConstraintName ConstraintInt
# The EXAMPLE_PATH tag can be used to specify one or more files or
...
...
This diff is collapsed.
Click to expand it.
wrapper/python/pyfaust/factparams.py
+
4
−
3
View file @
606b2d82
...
...
@@ -703,11 +703,12 @@ class ConstraintList(object):
"""
return
self
.
clist
.
__getitem__
(
ind
)
# experimental block start
class
MHTPParams
:
"""
This class defines the set of parameters to run the MHTP-PAL4MSA algorithm.
<b/> See also pyfaust.fact.palm4msa_mhtp
<b/> See also pyfaust.fact.palm4msa_mhtp
, pyfaust.fact.hierarchical_mhtp
"""
def
__init__
(
self
,
num_its
=
50
,
constant_step_size
=
False
,
step_size
=
1e-3
,
...
...
@@ -716,7 +717,7 @@ class MHTPParams:
"""
Constructor of the MHTPParams class.
<b/> See also pyfaust.fact.palm4msa_mhtp
<b/> See also pyfaust.fact.palm4msa_mhtp
, pyfaust.fact.hierarchical_mhtp
Args:
num_its: (int, optional) the number of iterations to run the MHTP algorithm.
...
...
@@ -751,7 +752,7 @@ class MHTPParams:
The MHTPParams instance str representation.
"""
return
str
(
MHTP_stop_crit
)
# experimental block end
class
ParamsFact
(
ABC
):
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment