MCPcopy Create free account

hub / github.com/callous-youth/BOML / functions

Functions306 in github.com/callous-youth/BOML

↓ 1 callersFunctionmaybe_call
Calls obj with args and kwargs and return its result if obj is callable, otherwise returns obj.
boml/load_data/datasets/dl_utils.py:181
↓ 1 callersFunctionmerge_two_dicts
(x, y)
boml/utils.py:76
↓ 1 callersFunctionname_from_dict
(_dict, *exclude_names)
boml/setup_model/network_utils.py:303
↓ 1 callersMethodouter_grads_and_vars
Method for getting outergradient and outer parameters as required by apply_gradient methods from tensorflow optimizers. :par
boml/upper_iter/outer_grad.py:137
↓ 1 callersMethodre_forward
reuses defined convolutional networks with new input and update the output results :param new_input: new input with same shape as the
boml/setup_model/meta_feat_v2.py:130
↓ 1 callersMethodre_forward
reuses defined convolutional networks with new input and update the output results :param new_input: new input with same shape as the
boml/setup_model/meta_feat_v2.py:238
↓ 1 callersMethodre_forward
(self, new_input=None, task_parameter=OrderedDict())
boml/setup_model/meta_init_v2.py:246
↓ 1 callersMethodre_forward
reuses defined convolutional networks with new input and update the output results :param new_input: new input with same shape as the
boml/setup_model/meta_init_v2.py:489
↓ 1 callersMethodresidual_block
:param x: input for the i-th block :param i: i-th block :return: the output of the j-th conv block in the i-th residual block
boml/setup_model/meta_init_v2.py:448
↓ 1 callersMethodset_tolerance
(self, tolerance=lambda _k: 0.1 * (0.9 ** _k))
boml/upper_iter/implicit.py:163
↓ 1 callersFunctiontest_if_balanced
:param dataset: :return: just for testing
boml/load_data/datasets/dl_utils.py:56
↓ 1 callersFunctiontest_meta_feat
()
test_script/test_meta_feat.py:308
↓ 1 callersFunctiontest_meta_init
()
test_script/test_meta_init.py:274
↓ 1 callersFunctiontest_setup_model
()
test_script/test_setup_model.py:11
↓ 1 callersFunctiontrain_and_test
( metasets, name_of_exp, method, inner_method, outer_method, use_t=False, use_warp
test_script/test_meta_init.py:102
↓ 1 callersFunctiontrain_and_test
( metasets, name_of_exp, method, inner_method, outer_method, use_t=False, use_warp
test_script/test_meta_feat.py:129
FunctionBOMLNetMiniMetaFeatV1
( _input, outer_param_dict=OrderedDict(), model_param_dict=OrderedDict(), dim_output=-1, b
boml/setup_model/meta_feat_v1.py:278
FunctionBOMLNetMiniMetaInitV1
( _input, dim_output, outer_param_dict=OrderedDict(), model_param_dict=OrderedDict(), batc
boml/setup_model/meta_init_v1.py:311
FunctionBOMLNetOmniglotMetaFeatV1
( _input, outer_param_dict=OrderedDict(), model_param_dict=OrderedDict(), batch_norm=layers.ba
boml/setup_model/meta_feat_v1.py:251
FunctionBOMLNetOmniglotMetaInitV1
( _input, dim_output, outer_param_dict=OrderedDict(), model_param_dict=OrderedDict(), batc
boml/setup_model/meta_init_v1.py:285
Method__add__
(self, other)
boml/setup_model/network.py:101
Method__getitem__
Get's the `activation` :param item: :return:
boml/setup_model/network.py:92
Method__getitem__
(self, item)
boml/load_data/datasets/structures.py:65
Method__getitem__
(self, item)
boml/load_data/datasets/structures.py:370
Method__init__
:param metadataset: instance of data set :param n_batches: number of batches :param batch_size: size of batch :param
boml/utils.py:250
Method__init__
Creates an object that creates model parameters and defines the network structure. :param _input: the input shape for defined network
boml/setup_model/network.py:43
Method__init__
:param _input: original input :param dim_output: dimension of output :param name: scope of meta-learner :param outer_
boml/setup_model/meta_init_v1.py:40
Method__init__
:param _input: original input :param dim_output: dimension of output :param name: scope of meta-learner :param outer_
boml/setup_model/meta_feat_v1.py:38
Method__init__
:param _input: original input :param dim_output: dimension of output :param name: scope of meta-learner :param outer_
boml/setup_model/meta_feat_v2.py:150
Method__init__
( self, _input, dim_output, name="Omniglot_ResNet", outer_param_dict=O
boml/setup_model/meta_init_v2.py:267
Method__init__
:param _input: original input for the FeedForward network, which is also output of the convolutional neural networks :param
boml/setup_model/feedforward.py:34
Method__init__
BMLHOptimizer is the main class in `boml`, which takes responsibility for the whole process of model construnction and back propagati
boml/boml_optimizer/optimizer.py:48
Method__init__
(self, inner_method="Simple", history=None, name="BMLOuterOptSimple")
boml/upper_iter/simple.py:34
Method__init__
(self, name)
boml/upper_iter/outer_grad.py:39
Method__init__
( self, inner_method="Trad", linear_system_solver_gen=None, name="BMLOuterGrad
boml/upper_iter/implicit.py:44
Method__init__
Utility method to initialize truncated reverse HG (not necessarily online), :param truncate_iter: Maximum number of iterations that wil
boml/upper_iter/reverse.py:42
Method__init__
Utility method to initialize truncated reverse HG (not necessarily online), :param name: a name for the operations and variables that w
boml/upper_iter/darts.py:19
Method__init__
Define data formats and manage attributes of the generated tasks. :param datasets: instance of Meta Dataset :param dtype: def
boml/load_data/experiment.py:30
Method__init__
( self, info=None, name="Mini", num_classes=None, num_examples=None, h5=False )
boml/load_data/datasets/load_full_dataset.py:341
Method__init__
(self, train=None, validation=None, test=None)
boml/load_data/datasets/structures.py:53
Method__init__
(self, info=None, name="MetaDataset", *args, **kwargs)
boml/load_data/datasets/structures.py:286
Method__init__
Class for managing windowed input data (like TIMIT). :param data: Numpy matrix. Each row should be an example data :param ro
boml/load_data/datasets/structures.py:343
Method__init__
Class for stochastic sampling of data points. It is most useful for feeding examples for the the training ops of `ReverseHG` or `Forw
boml/load_data/datasets/structures.py:418
Method__init__
Construct a new gradient descent optimizer. Args: learning_rate: A Tensor or a floating point value. The learning
boml/optimizer/sgd.py:46
Method__init__
r"""Construct a new Adam optimizer. Initialization: $$m_0 := 0 \text{(Initialize initial 1st moment vector)}$$ $$v_0 := 0 \t
boml/optimizer/adam.py:43
Method__init__
Construct a new Momentum optimizer. Args: learning_rate: A `Tensor` or a floating point value. The learning rate.
boml/optimizer/momentum.py:56
Method__init__
:param update_op: the operation to perform gradient-based optimization :param dynamics: the iterative formats of dynamical system
boml/lower_iter/simple.py:35
Method__init__
:param update_op: the tf operation to perform updates :param dynamics: the iterative formats of dynamical system :param objec
boml/lower_iter/inner_grad.py:43
Method__init__
:param update_op: the tf operation to perform updates :param dynamics: the iterative formats of dynamical system :param objec
boml/lower_iter/aggr.py:33
Method__init__
(self, adict)
test_script/script_helper.py:377
Method__init__
(self, metadataset, n_batches, batch_size, rand)
test_script/script_helper.py:803
Method__len__
(self)
boml/load_data/datasets/structures.py:68
Method__len__
(self)
boml/load_data/datasets/structures.py:391
Method__len__
(self)
boml/lower_iter/inner_grad.py:183
Method__lt__
(self, other)
boml/lower_iter/inner_grad.py:178
Method__str__
(self)
boml/upper_iter/outer_grad.py:180
Method__str__
(self)
boml/optimizer/sgd.py:99
Method__str__
(self)
boml/optimizer/adam.py:178
Method__str__
(self)
boml/optimizer/momentum.py:130
Method_aggregate_process_manage_collection
(_hg_lst)
boml/upper_iter/outer_grad.py:159
Method_forward
_forward() uses defined convolutional neural networks with initial input :return:
boml/setup_model/meta_init_v1.py:200
Method_forward
_forward() uses defined convolutional neural networks with initial input :return:
boml/setup_model/meta_feat_v1.py:183
Method_forward
_forward() uses defined convolutional neural networks with initial input :return:
boml/setup_model/meta_feat_v2.py:94
Method_forward
_forward() uses defined convolutional neural networks with initial input :return:
boml/setup_model/meta_feat_v2.py:204
Method_forward
_forward() uses defined convolutional neural networks with initial input :return:
boml/setup_model/meta_init_v2.py:190
Method_forward
_forward() uses defined convolutional neural networks with initial input :return:
boml/setup_model/meta_init_v2.py:416
Method_forward
(self)
boml/setup_model/feedforward.py:72
Method_load_class
(c)
boml/load_data/datasets/load_full_dataset.py:372
Method_meta_iteration
iteration of minimization of UL objective(s), assuming the hyper-gradients are already computed.
boml/boml_optimizer/optimizer.py:618
Method_opt_fd
()
boml/boml_optimizer/optimizer.py:542
Method_supplier
:param step: unused, just for making it compatible with `HG` and `Saver` :return: the feed dictionary
boml/load_data/datasets/structures.py:250
Method_training_supplier
(step=None)
boml/load_data/datasets/structures.py:489
Methodall_data
(self, partition_proportions=None, seed=None)
boml/load_data/datasets/load_full_dataset.py:466
Methodall_indices_shuffled
()
boml/load_data/datasets/structures.py:456
Methodapply_gradients
( self, inner_objective_feed_dicts=None, outer_objective_feed_dicts=None, init
boml/upper_iter/simple.py:89
Methodapply_gradients
Runs the inner optimization dynamics for T iterations in the meanwhile. :param inner_objective_feed_dicts: Optional feed dic
boml/upper_iter/outer_grad.py:113
Methodapply_gradients
( self, inner_objective_feed_dicts=None, outer_objective_feed_dicts=None, init
boml/upper_iter/implicit.py:119
Methodapply_gradients
( self, inner_objective_feed_dicts=None, outer_objective_feed_dicts=None, init
boml/upper_iter/reverse.py:170
Methodapply_gradients
( self, inner_objective_feed_dicts=None, outer_objective_feed_dicts=None, init
boml/upper_iter/darts.py:219
Methodapply_gradients
Apply gradients to variables. This is the second part of `minimize()`. It returns an `Operation` that applies gradients. Arg
boml/optimizer/adam.py:107
Methodapply_gradients
Apply gradients to variables. This is the second part of `minimize()`. It returns an `Operation` that applies gradients. Arg
boml/optimizer/momentum.py:89
Methodapply_updates
(self)
boml/upper_iter/outer_grad.py:106
Methodapply_updates
Descent step, as returned by `tf.train.Optimizer.apply_gradients`. :return:
boml/lower_iter/inner_grad.py:93
Functionas_list
Makes sure `obj` is a list or otherwise converts it to a list with a single element.
boml/utils.py:82
Functionas_list
Makes sure `obj` is a list or otherwise converts it to a list with a single element. :param obj: :return: A `list`
boml/setup_model/network_utils.py:222
Functionas_tuple_or_list
Make sure that `obj` is a tuple or a list and eventually converts it into a list with a single element :param obj: :return: A `tuple` or
boml/utils.py:56
Functionbatch_producer
(metadataset, batch_queue, n_batches, batch_size, rand=0)
test_script/script_helper.py:784
Methodbias
(self)
boml/load_data/datasets/structures.py:165
Functionclassification_acc
(pred, label)
boml/utils.py:195
Methodcompute_gradients
Function that adds to the computational graph all the operations needend for computing the hypergradients in a "dynamic" way, without
boml/upper_iter/simple.py:44
Methodcompute_gradients
Function overridden by specific methods. :param boml_inner_grad: inner_grad object resulting from the inner objective optimization.
boml/upper_iter/outer_grad.py:54
Methodcompute_gradients
( self, outer_objective, inner_grad, meta_param=None, param_dict=OrderedDict() )
boml/upper_iter/implicit.py:67
Methodcompute_gradients
Function that adds to the computational graph all the operations needed for computing the outer gradients with the dynamical system.
boml/upper_iter/reverse.py:60
Methodcompute_gradients
Function that adds to the computational graph all the operations needend for computing the hypergradients in a "dynamic" way, without
boml/upper_iter/darts.py:33
Methodcompute_gradients
:param boml_opt: instance of modified optimizers in the `optimizer` module :param loss_inner: Lower-Level objectives :param l
boml/lower_iter/simple.py:59
Methodcompute_gradients
:param boml_opt: instance of modified optimizers in the `optimizer` module :param loss_inner: Lower-Level objectives :param l
boml/lower_iter/inner_grad.py:60
Methodconv_block
(xx)
boml/setup_model/meta_feat_v2.py:212
Methodconv_block
(xx, i, j)
boml/setup_model/meta_init_v2.py:208
Functionconv_block_t
Perform, conv, batch norm, nonlinearity, and max pool :param boml_net: instance of BOMLNet :param convweight: parameter of convolutional filt
boml/setup_model/network_utils.py:62
Functionconv_block_warp
Perform, conv, batch norm, nonlinearity, and max pool :param boml_net: instance of BOMLNet :param cweight: parameter of convolutional filter
boml/setup_model/network_utils.py:92
← previousnext →101–200 of 306, ranked by callers