9c69c1fe57ca5bdf86e382859aa886ccd43eafc8,cleverhans/experimental/certification/dual_formulation.py,DualFormulation,construct_lanczos_params,#DualFormulation#,147
Before Change
self.alpha_h, self.beta_h, self.Q_h = self.min_eigen_vec(_h_vector_prod_fn,
0,
self.matrix_m_dimension-1,
self.lzs_params["max_iter"] )
self.alpha_h_hat, self.beta_h_hat, self.Q_h_hat = self.min_eigen_vec(_h_vector_prod_fn,
self.eig_max_placeholder,
After Change
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.
// Checking if graphs are already created
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
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: 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
Project Name: tryolabs/luminoth
Commit Name: dfe26d7233aaccb1d344ff9ba9995d722503b7e7
Time: 2018-03-20
Author: joaquin.alori@gmail.com
File Name: luminoth/models/ssd/ssd.py
Class Name: SSD
Method Name: _build