MCPcopy Create free account

hub / github.com/albanie/mcnPyTorch / functions

Functions97 in github.com/albanie/mcnPyTorch

↓ 41 callersFunctionget_feats
(net, x, feats=[])
python/pytorch_utils.py:577
↓ 35 callersFunctionconstruct_layers
`state`: a dictionary which is carried through the graph construction `opts`: a dict of opts for the current layer
python/import_pytorch.py:335
↓ 14 callersFunctionin_place_replica
Returns a deep copy of an autograd variable's data. A number of PyTorch operations are perfomed in-place, which makes graph comparison non-tr
python/pytorch_utils.py:371
↓ 14 callersFunctionupdate_size_info
print size summary, perform some sanity checks and (by default) pops the leading size
python/import_pytorch.py:297
↓ 13 callersFunctioncanonical_net
restructure models to be consistent for easier processing
python/pytorch_utils.py:205
↓ 12 callersMethodchildren
(self)
python/pytorch_utils.py:369
↓ 10 callersMethodtoMatlab
(self)
python/pytorch_utils.py:963
↓ 9 callersMethod__init__
(self, name, inputs, outputs,)
python/pytorch_utils.py:960
↓ 9 callersFunctiondictToMatlabStruct
(d)
python/pytorch_utils.py:142
↓ 9 callersFunctioninsert_cat_layer
(name, inputs, state, dim=3)
python/import_pytorch.py:56
↓ 7 callersMethod__init__
(self, num_classes=1000, aux_logits=True, transform_input=False)
python/skeletons/inception.py:37
↓ 7 callersMethoddisplay
(self)
python/pytorch_utils.py:971
↓ 7 callersFunctionrow
(x)
python/pytorch_utils.py:113
↓ 6 callersFunctionpt_tensor_to_array
Convert a PyTorch Tensor to a numpy array. (changes the order of dimensions to [width, height, channels, instance])
python/pytorch_utils.py:130
↓ 5 callersMethodreshape
(self, model)
python/pytorch_utils.py:796
↓ 5 callersFunctiontolist
Convert x to a Python list. x can be a Torch size tensor, a list, tuple or scalar
python/pytorch_utils.py:119
↓ 3 callersFunctionrowcell
(x)
python/pytorch_utils.py:116
↓ 3 callersMethodtranspose
(self, model)
python/pytorch_utils.py:715
↓ 2 callersMethodadd_var
(self, name)
python/pytorch_utils.py:678
↓ 2 callersFunctionflatten_layers
Flattening is done in the network class, rather than in the moudles with pytorch, so we need to 'catch' this event and reproduce it in th
python/import_pytorch.py:313
↓ 2 callersFunctionis_lambda_map
check for the presence of the LambdaMap block used by the torch -> pytorch converter
python/pytorch_utils.py:559
↓ 1 callersMethodadd_layer
(self, layer)
python/pytorch_utils.py:664
↓ 1 callersMethodadd_param
(self, name)
python/pytorch_utils.py:682
↓ 1 callersFunctionget_custom_feats
(net, x)
python/pytorch_utils.py:378
↓ 1 callersFunctionis_lambda_reduce
check for the presence of the LambdReduce block used by the torch -> pytorch converter
python/pytorch_utils.py:565
↓ 1 callersFunctionprocess_custom_module
(name, module, state)
python/import_pytorch.py:63
↓ 1 callersMethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:968
Method__call__
(self, im)
python/pytorch_utils.py:166
Method__init__
(self, imsz, rgb, swap=(2, 0, 1))
python/pytorch_utils.py:161
Method__init__
(self, features, classifier, flatten_loc)
python/pytorch_utils.py:180
Method__init__
(self, map, reduce)
python/pytorch_utils.py:365
Method__init__
(self, name)
python/pytorch_utils.py:639
Method__init__
(self)
python/pytorch_utils.py:659
Method__init__
(self, name, inputs, outputs)
python/pytorch_utils.py:698
Method__init__
(self, name, inputs, outputs)
python/pytorch_utils.py:740
Method__init__
(self, name, inputs, outputs, num_output, bias_term, pad,
python/pytorch_utils.py:755
Method__init__
(self, name, inputs, outputs, use_global_stats, momentum, eps)
python/pytorch_utils.py:840
Method__init__
(self, name, inputs, outputs, method, pad, kernel_size, stride, ceil_mode, sizes, dilation=[1
python/pytorch_utils.py:887
Method__init__
(self, name, inputs, outputs, concatDim)
python/pytorch_utils.py:941
Method__init__
(self, name, inputs, outputs, ratio)
python/pytorch_utils.py:978
Method__init__
(self, name, inputs, outputs, axis)
python/pytorch_utils.py:995
Method__init__
(self, name, inputs, outputs, order)
python/pytorch_utils.py:1014
Method__init__
(self, in_channels, pool_features)
python/skeletons/inception.py:137
Method__init__
(self, in_channels)
python/skeletons/inception.py:170
Method__init__
(self, in_channels, channels_7x7)
python/skeletons/inception.py:194
Method__init__
(self, in_channels)
python/skeletons/inception.py:234
Method__init__
(self, in_channels)
python/skeletons/inception.py:261
Method__init__
(self, in_channels, num_classes)
python/skeletons/inception.py:304
Method__init__
(self, in_channels, out_channels, **kwargs)
python/skeletons/inception.py:330
Functioncompute_intermediate_feats
(net, x, flatten_loc)
python/pytorch_utils.py:619
Methoddisplay
(self)
python/pytorch_utils.py:708
Methoddisplay
(self)
python/pytorch_utils.py:785
Methoddisplay
(self)
python/pytorch_utils.py:852
Methoddisplay
(self)
python/pytorch_utils.py:921
Methoddisplay
(self)
python/pytorch_utils.py:945
Methoddisplay
(self)
python/pytorch_utils.py:991
Methoddisplay
(self)
python/pytorch_utils.py:999
Methoddisplay
(self)
python/pytorch_utils.py:1018
Methodforward
(self, x)
python/pytorch_utils.py:186
Methodforward
(self, x)
python/skeletons/inception.py:76
Methodforward
(self, x)
python/skeletons/inception.py:151
Methodforward
(self, x)
python/skeletons/inception.py:179
Methodforward
(self, x)
python/skeletons/inception.py:212
Methodforward
(self, x)
python/skeletons/inception.py:245
Methodforward
(self, x)
python/skeletons/inception.py:277
Methodforward
(self, x)
python/skeletons/inception.py:313
Methodforward
(self, x)
python/skeletons/inception.py:336
MethodhasValue
(self)
python/pytorch_utils.py:655
Functionhas_lambda_child
(module)
python/pytorch_utils.py:555
Functioninception_v3
r"""Inception v3 model architecture from `"Rethinking the Inception Architecture for Computer Vision" <http://arxiv.org/abs/1512.00567>`_. Ar
python/skeletons/inception.py:18
Functionis_plain_lambda
check for the presence of the LambdReduce block used by the torch -> pytorch converter
python/pytorch_utils.py:571
Functionload_pytorch_model
(name, paths=None)
python/pytorch_utils.py:283
MethodrenameLayer
(self, old, new)
python/pytorch_utils.py:686
Methodreshape
(self, model)
python/pytorch_utils.py:705
Methodreshape
(self, model)
python/pytorch_utils.py:734
Methodreshape
(self, model)
python/pytorch_utils.py:1022
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:718
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:743
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:807
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:858
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:918
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:949
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:988
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:1003
MethodsetTensor
(self, model, all_params)
python/pytorch_utils.py:1034
Functionset_conversion_kwargs
configure parser for shared keyword arguments
python/pytorch_utils.py:35
MethodtoMatlab
(self)
python/pytorch_utils.py:649
MethodtoMatlab
(self)
python/pytorch_utils.py:723
MethodtoMatlab
(self)
python/pytorch_utils.py:746
MethodtoMatlab
(self)
python/pytorch_utils.py:823
MethodtoMatlab
(self)
python/pytorch_utils.py:878
MethodtoMatlab
(self)
python/pytorch_utils.py:929
MethodtoMatlab
(self)
python/pytorch_utils.py:952
MethodtoMatlab
(self)
python/pytorch_utils.py:982
MethodtoMatlab
(self)
python/pytorch_utils.py:1006
MethodtoMatlab
(self)
python/pytorch_utils.py:1037
Methodtranspose
(self)
python/pytorch_utils.py:646