The simplified parameterization class for factorizing a DFT matrix using the hierarchical factorization algorithm.
More...
|
def | __init__ (self, n) |
|
def | __repr__ (self) |
| Returns object representation. More...
|
|
def | support_DFT (self, n) |
| Generates the DFT supports with the additional bit-reversal permutation matrix. More...
|
|
def | bit_rev_permu (self, int n) |
| Returns the Bit-reversal permutation of index n. More...
|
|
def | __init__ (self, fact_constraints, res_constraints, stop_crit1, stop_crit2, is_update_way_R2L=False, init_lambda=1.0, step_size=10.0 **-16, constant_step_size=False, is_fact_side_left=False, is_verbose=False, factor_format='dynamic', packing_RL=True, no_normalization=False, no_lambda=False, norm2_max_iter=100, norm2_threshold=1e-6, grad_calc_opt_mode=ParamsFact.EXTERNAL_OPT, **kwargs) |
| Constructor. More...
|
|
def | are_constraints_consistent (self, M) |
| This method verifies that the constraints are shape-consistent to the matrix/array M to factorize and with each other. More...
|
|
def | __init__ (self, num_facts, is_update_way_R2L, init_lambda, constraints, step_size, constant_step_size, is_verbose, factor_format='dynamic', packing_RL=True, no_normalization=False, no_lambda=False, norm2_max_iter=100, norm2_threshold=1e-6, grad_calc_opt_mode=EXTERNAL_OPT, **kwargs) |
|
The simplified parameterization class for factorizing a DFT matrix using the hierarchical factorization algorithm.
- See also
- pyfaust.fact.hierarchical, init
◆ __init__()
def pyfaust.factparams.ParamsHierarchicalDFT.__init__ |
( |
|
self, |
|
|
|
n |
|
) |
| |
- Parameters
-
n | (int) the log2(size) of the DFT matrix (of size 2^n x 2^n). |
◆ __repr__()
def pyfaust.factparams.ParamsHierarchicalDFT.__repr__ |
( |
|
self | ) |
|
◆ bit_rev_permu()
def pyfaust.factparams.ParamsHierarchicalDFT.bit_rev_permu |
( |
|
self, |
|
|
int |
n |
|
) |
| |
Returns the Bit-reversal permutation of index n.
- Parameters
-
n | (int) the index of the permutation. |
Returns | the Bit-reversal permutation of index n as a list. |
◆ createParams()
def pyfaust.factparams.ParamsHierarchicalDFT.createParams |
( |
|
M, |
|
|
|
p |
|
) |
| |
|
static |
◆ support_DFT()
def pyfaust.factparams.ParamsHierarchicalDFT.support_DFT |
( |
|
self, |
|
|
|
n |
|
) |
| |
Generates the DFT supports with the additional bit-reversal permutation matrix.
- Parameters
-
n | (int) the log2(size) of the DFT (of size 2^n x 2^n). |
◆ supports
pyfaust.factparams.ParamsHierarchicalDFT.supports |
The documentation for this class was generated from the following file: