9c69c1fe57ca5bdf86e382859aa886ccd43eafc8,cleverhans/experimental/certification/dual_formulation.py,DualFormulation,construct_lanczos_params,#DualFormulation#,147
Before Change
return self.get_h_product(x)
// Construct nodes for computing eigenvalue of M
self.alpha_m, self.beta_m, self.Q_m = self.min_eigen_vec(_m_vector_prod_fn,
0,
self.matrix_m_dimension,
self.lzs_params["min_iter"])
After Change
self.matrix_m_dimension-1,
self.lzs_params["max_iter"],
dtype=self.lanczos_dtype)
self.h_min_eig = tf.cast(self.h_min_eig, self.nn_dtype)
self.h_min_vec = tf.cast(self.h_min_vec, self.nn_dtype)
def set_differentiable_objective(self):
Function that constructs minimization objective from dual variables.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorflow/cleverhans
Commit Name: 9c69c1fe57ca5bdf86e382859aa886ccd43eafc8
Time: 2019-03-21
Author: ss.shankar505@gmail.com
File Name: cleverhans/experimental/certification/dual_formulation.py
Class Name: DualFormulation
Method Name: construct_lanczos_params
Project Name: pandas-dev/pandas
Commit Name: 7368b2a4e8c6b32b975a62d64efb65bbd6bd1df1
Time: 2020-11-24
Author: 41443370+ivanovmg@users.noreply.github.com
File Name: pandas/io/formats/excel.py
Class Name: ExcelFormatter
Method Name: _format_header_regular
Project Name: tryolabs/luminoth
Commit Name: e7079d87b55b8d49d0bc5af6d40d6e50ac212abc
Time: 2018-03-20
Author: psoto23.ps@gmail.com
File Name: luminoth/models/ssd/ssd_target.py
Class Name: SSDTarget
Method Name: _build