Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cbfinn/maml
/ functions
Functions
19 in github.com/cbfinn/maml
⨍
Functions
19
◇
Types & classes
2
↓ 4 callers
Function
conv_block
Perform, conv, batch norm, nonlinearity, and max pool
utils.py:26
↓ 3 callers
Function
normalize
(inp, activation, reuse, scope)
utils.py:39
↓ 2 callers
Method
construct_model
(self, input_tensors=None, prefix='metatrain_')
maml.py:50
↓ 2 callers
Method
make_data_tensor
(self, train=True)
data_generator.py:82
↓ 1 callers
Function
get_images
(paths, labels, nb_samples=None, shuffle=True)
utils.py:13
↓ 1 callers
Function
main
()
main.py:217
↓ 1 callers
Function
test
(model, saver, sess, exp_string, data_generator, test_num_updates=None)
main.py:165
↓ 1 callers
Function
train
(model, saver, sess, exp_string, data_generator, resume_itr=0)
main.py:72
Function
_MaxPoolGradGrad
(op, grad)
special_grads.py:7
Method
__init__
Args: num_samples_per_class: num samples to generate per class in one batch batch_size: size of meta batch size (e.g.
data_generator.py:17
Method
__init__
must call construct_model() after initializing MAML!
maml.py:18
Method
construct_conv_weights
(self)
maml.py:185
Method
construct_fc_weights
(self)
maml.py:168
Method
forward_conv
(self, inp, weights, reuse=False, scope='')
maml.py:210
Method
forward_fc
(self, inp, weights, reuse=False)
maml.py:179
Method
generate_sinusoid_batch
(self, train=True, input_idx=None)
data_generator.py:162
Function
mse
(pred, label)
utils.py:51
Method
task_metalearn
Perform gradient descent for one task in the meta-batch.
maml.py:79
Function
xent
(pred, label)
utils.py:56