MCPcopy Create free account

hub / github.com/Tencent/PocketFlow / types & classes

Types & classes51 in github.com/Tencent/PocketFlow

↓ 9 callersClassDistillationHelper
Helper for training with distillation loss. Other learners can use calc_loss() (remember to call initialize() first to make sure that the pre-t
learners/distillation_helper.py:33
↓ 4 callersClassActor
Actor network.
rl_agents/ddpg/actor_critic.py:78
↓ 4 callersClassCifar10Dataset
CIFAR-10 dataset.
datasets/cifar10_dataset.py:72
↓ 4 callersClassIlsvrc12Dataset
ILSVRC-12 dataset.
datasets/ilsvrc12_dataset.py:95
↓ 4 callersClassPascalVocDataset
Pascal VOC dataset.
datasets/pascalvoc_dataset.py:165
↓ 2 callersClassCritic
Critic network.
rl_agents/ddpg/actor_critic.py:120
↓ 2 callersClassFMnistDataset
Fashion-MNIST dataset.
examples/fmnist_dataset.py:90
↓ 2 callersClassFullPrecLearner
Full-precision learner (no model compression applied).
learners/full_precision/learner.py:30
↓ 2 callersClassModelHelper
Model helper for creating a ResNet model for the ILSVRC-12 dataset.
nets/resnet_at_ilsvrc12.py:96
↓ 2 callersClassNonUniformQuantization
Class of non-uniform quantization
learners/nonuniform_quantization/utils.py:29
↓ 2 callersClassReLuLayer
utils/external/ssd_tensorflow/net/ssd_net.py:56
↓ 2 callersClassRunningMeanStd
Running averages of mean value & standard deviation.
rl_agents/ddpg/running_mean_std.py:25
↓ 2 callersClassUniformQuantization
Class of uniform quantization
learners/uniform_quantization/utils.py:30
↓ 1 callersClassAdaptiveNoiseSpec
Adaptive parameter noise's specifications. To enable, set <ddpg_noise_type> to 'param' and <ddpg_noise_prtl> to 'adapt'.
rl_agents/ddpg/noise.py:38
↓ 1 callersClassBitOptimizer
Currently only weight bits are inferred via RL. Activations later.
learners/nonuniform_quantization/bit_optimizer.py:53
↓ 1 callersClassBitOptimizer
Currently only weight bits are inferred via RL. Activations later.
learners/uniform_quantization/bit_optimizer.py:50
↓ 1 callersClassChannelPrunedGpuLearner
Channel pruning learner with GPU-based optimization.
learners/channel_pruning_gpu/learner.py:108
↓ 1 callersClassChannelPrunedLearner
Learner with channel/filter pruning
learners/channel_pruning/learner.py:82
↓ 1 callersClassChannelPrunedRmtLearner
Channel pruning learner - remastered.
learners/channel_pruning_rmt/learner.py:113
↓ 1 callersClassChannelPruner
The Channel Prunner
learners/channel_pruning/channel_pruner.py:52
↓ 1 callersClassDisChnPrunedLearner
Discrimination-aware channel pruning learner.
learners/discr_channel_pruning/learner.py:99
↓ 1 callersClassEnv
Environment for the Move-to-target problem. The reward for moving from <x_curr> to <x_next> is defined as: reward := Dist(x_curr, target) - Dis
rl_agents/unit_tests/move_to_target.py:34
↓ 1 callersClassImageCoder
Helper class that provides TensorFlow image coding utilities.
utils/external/ssd_tensorflow/dataset/convert_tfrecords.py:138
↓ 1 callersClassModel
The model wraper make it easier to do some operation on a tensorflow model
learners/channel_pruning/model_wrapper.py:31
↓ 1 callersClassModelHelper
Model helper for creating a MobileNet model for the ILSVRC-12 dataset.
nets/mobilenet_at_ilsvrc12.py:69
↓ 1 callersClassModelHelper
Model helper for creating a VGG model for the VOC dataset.
nets/faster_rcnn_at_pascalvoc.py:468
↓ 1 callersClassModelHelper
Model helper for creating a LeNet-like model for the CIFAR-10 dataset.
nets/lenet_at_cifar10.py:70
↓ 1 callersClassModelHelper
Model helper for creating a VGG model for the VOC dataset.
nets/vgg_at_pascalvoc.py:413
↓ 1 callersClassModelHelper
Model helper for creating a ResNet model for the CIFAR-10 dataset.
nets/resnet_at_cifar10.py:68
↓ 1 callersClassModelHelper
Model helper for creating a ConvNet model for the Fashion-MNIST dataset.
examples/convnet_at_fmnist.py:69
↓ 1 callersClassNoOpScope
No-op context manager.
utils/external/mobilenet.py:117
↓ 1 callersClassNonUniformQuantLearner
Nonuniform quantization for weights and activations
learners/nonuniform_quantization/learner.py:76
↓ 1 callersClassPROptimizer
Pruning ratio optimizer for the weight sparsification learner.
learners/weight_sparsification/pr_optimizer.py:96
↓ 1 callersClassRLHelper
Reinforcement learning helper for the weight sparsification learner.
learners/weight_sparsification/rl_helper.py:24
↓ 1 callersClassRLHelper
The Helper Class for the DDPG algorithm. Making sure the states and actions satisfy the condition of constraints given the total number bits.
learners/nonuniform_quantization/rl_helper.py:25
↓ 1 callersClassRLHelper
The Helper Class for the DDPG algorithm. Making sure the states and actions satisfy the condition of constraints given the total number bits.
learners/uniform_quantization/rl_helper.py:26
↓ 1 callersClassReplayBuffer
Replay buffer for storing state-action-reward transitions. Each transition consists of five components: 1. state: current state 2. action: acti
rl_agents/ddpg/replay_buffer.py:21
↓ 1 callersClassTimeDecayNoiseSpec
Time-decaying action / parameter noise's specifications. To enable, set <ddpg_noise_type> to 'action' / 'param' and <ddpg_noise_prtl> to 'tdecy'.
rl_agents/ddpg/noise.py:66
↓ 1 callersClassUniformQuantLearner
Uniform quantization for weights and activations
learners/uniform_quantization/learner.py:73
↓ 1 callersClassUniformQuantTFLearner
Uniform quantization learner with TensorFlow's quantization APIs.
learners/uniform_quantization_tf/learner.py:64
↓ 1 callersClassWeightSparseLearner
Weight sparsification learner.
learners/weight_sparsification/learner.py:67
ClassAbstractDataset
Abstract class for datasets.
datasets/abstract_dataset.py:35
ClassAbstractLearner
Abstract class for learners. A learner should take a ModelHelper object as input, which includes the data input pipeline and model definition,
learners/abstract_learner.py:41
ClassAbstractModelHelper
Abstract class for model helpers. A model helper should define the following function interface: 1. Data input pipeline for training and evalua
nets/abstract_model_helper.py:22
ClassAgent
DDPG (Deep Deterministic Policy Gradient) agent.
rl_agents/ddpg/agent.py:119
ClassAnchorCreator
utils/external/ssd_tensorflow/utility/anchor_manipulator.py:258
ClassAnchorEncoder
utils/external/ssd_tensorflow/utility/anchor_manipulator.py:110
ClassModel
Base class for building the Resnet Model.
utils/external/resnet_model.py:358
ClassModel
Abstract model for actor & critic networks.
rl_agents/ddpg/actor_critic.py:48
ClassMultiGpuWrapper
Wrapper for multi-GPU training.
utils/multi_gpu_wrapper.py:30
ClassVGG16Backbone
utils/external/ssd_tensorflow/net/ssd_net.py:75