MCPcopy Create free account

hub / github.com/pytorch/examples / types & classes

Types & classes108 in github.com/pytorch/examples

↓ 9 callersClassAverageMeter
Computes and stores the average and current value
imagenet/main.py:440
↓ 6 callersClassConvLayer
fast_neural_style/neural_style/transformer_net.py:44
↓ 5 callersClassLinear
legacy/snli/model.py:15
↓ 5 callersClassResidualBlock
ResidualBlock introduced in: https://arxiv.org/abs/1512.03385 recommended architecture: http://torch.ch/blog/2016/02/04/resnets.html
fast_neural_style/neural_style/transformer_net.py:57
↓ 4 callersClassMyTrainDataset
distributed/ddp-tutorial-series/datautils.py:4
↓ 3 callersClassRMSNorm
Initialize the RMSNorm normalization layer. Args: dim (int): The dimension of the input tensor. eps (float, optional): A sma
distributed/tensor_parallelism/llama2_model.py:115
↓ 3 callersClasswikihow
distributed/FSDP/summarization_dataset.py:26
↓ 2 callersClassAPP_MATCHER
siamese_network/main.py:80
↓ 2 callersClassDatasetFromFolder
super_resolution/dataset.py:18
↓ 2 callersClassFoo
fx/primitive_library.py:45
↓ 2 callersClassGraphAttentionLayer
Graph Attention Layer (GAT) as described in the paper `"Graph Attention Networks" <https://arxiv.org/pdf/1710.10903.pdf>`. This operatio
gat/main.py:18
↓ 2 callersClassGraphConv
Graph Convolutional Layer described in "Semi-Supervised Classification with Graph Convolutional Networks". Given an input feature re
gcn/main.py:14
↓ 2 callersClassM1
fx/custom_tracer.py:45
↓ 2 callersClassProgressMeter
imagenet/main.py:491
↓ 2 callersClassSnapshot
distributed/minGPT-ddp/mingpt/trainer.py:32
↓ 2 callersClassTransformerNet
fast_neural_style/neural_style/transformer_net.py:4
↓ 2 callersClassTranslator
language_translation/src/model.py:28
↓ 2 callersClassUpsampleConvLayer
UpsampleConvLayer Upsamples the input and then does a convolution. This method gives better results compared to ConvTranspose2d. ref: http
fast_neural_style/neural_style/transformer_net.py:79
↓ 1 callersClassAgent
distributed/rpc/rl/main.py:112
↓ 1 callersClassAgent
distributed/rpc/batch/reinforce.py:119
↓ 1 callersClassAttention
Multi-head attention module. Args: model_args (ModelArgs): Model configuration arguments. Attributes: n_kv_heads (int):
distributed/tensor_parallelism/llama2_model.py:145
↓ 1 callersClassAttention
distributed/FSDP2/model.py:18
↓ 1 callersClassBatchUpdateParameterServer
distributed/rpc/batch/parameter_server.py:31
↓ 1 callersClassBlock
an unassuming Transformer block
distributed/minGPT-ddp/mingpt/model.py:61
↓ 1 callersClassCharDataset
distributed/minGPT-ddp/mingpt/char_dataset.py:17
↓ 1 callersClassCheckpointer
distributed/FSDP2/checkpoint.py:39
↓ 1 callersClassDataConfig
distributed/minGPT-ddp/mingpt/char_dataset.py:11
↓ 1 callersClassDictionary
word_language_model/data.py:5
↓ 1 callersClassDiscriminator
dcgan/main.py:169
↓ 1 callersClassDistResNet50
Assemble two parts as an nn.Module and define pipelining logic
distributed/rpc/pipeline/main.py:141
↓ 1 callersClassEmbeddingStem
distributed/minGPT-ddp/mingpt/model.py:80
↓ 1 callersClassEncoder
legacy/snli/model.py:19
↓ 1 callersClassFeedForward
FeedForward module Args: dim (int): Input dimension. hidden_dim (int): Hidden dimension of the feedforward layer. mu
distributed/tensor_parallelism/llama2_model.py:231
↓ 1 callersClassFeedForward
distributed/FSDP2/model.py:60
↓ 1 callersClassFoo
fx/profiling_tracer.py:16
↓ 1 callersClassGAT
Graph Attention Network (GAT) as described in the paper `"Graph Attention Networks" <https://arxiv.org/pdf/1710.10903.pdf>`. Consists of a 2-
gat/main.py:143
↓ 1 callersClassGCN
Graph Convolutional Network (GCN) as described in the paper `"Semi-Supervised Classification with Graph Convolutional Networks" <https://arx
gcn/main.py:67
↓ 1 callersClassGPT
GPT Language Model
distributed/minGPT-ddp/mingpt/model.py:99
↓ 1 callersClassGPTConfig
distributed/minGPT-ddp/mingpt/model.py:15
↓ 1 callersClassGenerator
dcgan/main.py:126
↓ 1 callersClassHybridModel
r""" The model consists of a sparse part and a dense part. 1) The dense part is an nn.Linear module that is replicated across all trainers usi
distributed/rpc/ddp_rpc/main.py:24
↓ 1 callersClassInliningTracer
fx/primitive_library.py:124
↓ 1 callersClassLayer
mnist_forward_forward/main.py:59
↓ 1 callersClassLowerReluTracer
fx/custom_tracer.py:66
↓ 1 callersClassM
fx/replace_op.py:32
↓ 1 callersClassM
fx/wrap_output_dynamically.py:21
↓ 1 callersClassM
fx/inline_function.py:31
↓ 1 callersClassM
fx/subgraph_rewriter_basic_use.py:29
↓ 1 callersClassM2
fx/custom_tracer.py:94
↓ 1 callersClassModelArgs
distributed/tensor_parallelism/llama2_model.py:13
↓ 1 callersClassModelArgs
distributed/FSDP2/model.py:9
↓ 1 callersClassModulePathTracer
ModulePathTracer is an FX tracer that--for each operation--also records the qualified name of the Module from which the operation originated.
fx/module_tracer.py:15
↓ 1 callersClassMultiheadAttentionLayer
A multi-head masked self-attention layer with a projection at the end.
distributed/minGPT-ddp/mingpt/model.py:34
↓ 1 callersClassMyElementwiseModule
fx/native_interpreter/use_interpreter.py:114
↓ 1 callersClassNet
mnist/main.py:10
↓ 1 callersClassNet
distributed/rpc/parameter_server/rpc_parameter_server.py:18
↓ 1 callersClassNet
mnist_forward_forward/main.py:32
↓ 1 callersClassNet
mnist_rnn/main.py:13
↓ 1 callersClassNet
super_resolution/model.py:6
↓ 1 callersClassNet
mnist_hogwild/main.py:39
↓ 1 callersClassOptimizerConfig
distributed/minGPT-ddp/mingpt/model.py:30
↓ 1 callersClassOpts
language_translation/src/data.py:122
↓ 1 callersClassParameterServer
distributed/rpc/parameter_server/rpc_parameter_server.py:84
↓ 1 callersClassPolicy
implements both actor and critic in one model
reinforcement_learning/actor_critic.py:36
↓ 1 callersClassPolicy
reinforcement_learning/reinforce.py:31
↓ 1 callersClassPolicy
r""" Borrowing the ``Policy`` class from the Reinforcement Learning example. Copying the code to make these two examples independent. See
distributed/rpc/rl/main.py:50
↓ 1 callersClassPolicy
r""" Borrowing the ``Policy`` class from the Reinforcement Learning example. Copying the code to make these two examples independent. See
distributed/rpc/batch/reinforce.py:40
↓ 1 callersClassPositionalEncoding
r"""Inject some information about the relative or absolute position of the tokens in the sequence. The positional encodings have the same dime
word_language_model/model.py:65
↓ 1 callersClassPositionalEncoding
language_translation/src/model.py:7
↓ 1 callersClassProfilerTracer
fx/profiling_tracer.py:65
↓ 1 callersClassRNNModel
Container module with an encoder, a recurrent module, and a decoder.
word_language_model/model.py:6
↓ 1 callersClassSNLIClassifier
legacy/snli/model.py:38
↓ 1 callersClassSequence
time_sequence_prediction/train.py:11
↓ 1 callersClassSiameseNetwork
Siamese network for image similarity estimation. The network is composed of two identical networks, one for each input. The o
siamese_network/main.py:16
↓ 1 callersClassTaggingTracer
fx/custom_tracer.py:98
↓ 1 callersClassToyModel
distributed/ddp/example.py:20
↓ 1 callersClassToyModel
MLP based model
distributed/tensor_parallelism/tensor_parallel_example.py:57
↓ 1 callersClassToyModel
MLP based model
distributed/tensor_parallelism/sequence_parallel_example.py:47
↓ 1 callersClassTrainer
distributed/rpc/batch/parameter_server.py:70
↓ 1 callersClassTrainer
distributed/minGPT-ddp/mingpt/trainer.py:44
↓ 1 callersClassTrainer
distributed/ddp-tutorial-series/single_gpu.py:7
↓ 1 callersClassTrainer
distributed/ddp-tutorial-series/multigpu.py:24
↓ 1 callersClassTrainer
distributed/ddp-tutorial-series/multigpu_torchrun.py:17
↓ 1 callersClassTrainer
distributed/ddp-tutorial-series/multinode.py:17
↓ 1 callersClassTrainerConfig
distributed/minGPT-ddp/mingpt/trainer.py:22
↓ 1 callersClassTrainerNet
distributed/rpc/parameter_server/rpc_parameter_server.py:152
↓ 1 callersClassTransformer
distributed/FSDP2/model.py:100
↓ 1 callersClassTransformerBlock
TransformerBlock Module Args: layer_id (int): Identifier for the layer. model_args (ModelArgs): Model configuration argument
distributed/tensor_parallelism/llama2_model.py:275
↓ 1 callersClassTransformerBlock
distributed/FSDP2/model.py:76
↓ 1 callersClassTransformerModel
Container module with an encoder, a recurrent or transformer module, and a decoder.
word_language_model/model.py:107
↓ 1 callersClassVAE
vae/main.py:46
↓ 1 callersClassVgg16
fast_neural_style/neural_style/vgg.py:7
↓ 1 callersClassWrapperModule
fx/native_interpreter/use_interpreter.py:82
ClassActivationFunction
fx/wrap_output_dynamically.py:33
ClassBottle
legacy/snli/model.py:5
ClassCorpus
word_language_model/data.py:20
ClassDecoder
r""" Decoding layers of the RNNModel
distributed/rpc/rnn/rnn.py:58
ClassEmbeddingTable
r""" Encoding layers of the RNNModel
distributed/rpc/rnn/rnn.py:38
ClassObserver
r""" An observer has exclusive access to its own environment. Each observer captures the state from its environment, and send the state to the
distributed/rpc/rl/main.py:72
ClassObserver
r""" An observer has exclusive access to its own environment. Each observer captures the state from its environment, and send the state to the
distributed/rpc/batch/reinforce.py:61
next →1–100 of 108, ranked by callers