MCPcopy Create free account

hub / github.com/pytorch/tutorials / functions

Functions760 in github.com/pytorch/tutorials

Methodforward
(self, x)
beginner_source/introyt/autogradyt_tutorial.py:262
Methodforward
(self, x)
beginner_source/introyt/modelsyt_tutorial.py:58
Methodforward
(self, x)
beginner_source/introyt/modelsyt_tutorial.py:163
Methodforward
(self, sentence)
beginner_source/introyt/modelsyt_tutorial.py:264
Methodforward
(self, x)
beginner_source/introyt/trainingyt.py:147
Methodforward
(self, x)
beginner_source/basics/quickstart_tutorial.py:106
Methodforward
(self, x)
beginner_source/basics/optimization_tutorial.py:62
Methodforward
(self, x)
beginner_source/basics/buildmodel_tutorial.py:60
Methodforward
(self, x)
beginner_source/onnx/export_control_flow_model_to_onnx_tutorial.py:54
Methodforward
(self, x)
beginner_source/onnx/export_control_flow_model_to_onnx_tutorial.py:69
Methodforward
(self, input_x, input_y)
beginner_source/onnx/onnx_registry_tutorial.py:80
Methodforward
(self, input_x)
beginner_source/onnx/onnx_registry_tutorial.py:139
Methodforward
(self, input)
beginner_source/onnx/onnx_registry_tutorial.py:214
Methodforward
(self, x: torch.Tensor)
beginner_source/onnx/export_simple_model_to_onnx_tutorial.py:73
Methodforward
(self, sentence)
beginner_source/nlp/advanced_tutorial.py:284
Methodforward
(self, inputs)
beginner_source/nlp/word_embeddings_tutorial.py:234
Methodforward
(self, inputs)
beginner_source/nlp/word_embeddings_tutorial.py:340
Methodforward
(self, bow_vec)
beginner_source/nlp/deep_learning_tutorial.py:276
Methodforward
(self, sentence)
beginner_source/nlp/sequence_models_tutorial.py:170
Methodforward
In the forward pass we receive a Tensor containing the input and return a Tensor containing the output. Check out `Extending torch.au
beginner_source/examples_autograd/polynomial_custom_function.py:32
Methodforward
Forward pass; runs the following process: 1. Apply input projection 2. Split heads and prepare for SDPA 3
unstable_source/nestedtensor.py:200
Methodforward
( self, x: torch.Tensor, cu_seq: torch.Tensor, max_len: int )
intermediate_source/variable_length_attention_tutorial.py:229
Methodforward
( self, tokens: torch.Tensor, cu_seq: torch.Tensor, max_len: int )
intermediate_source/variable_length_attention_tutorial.py:290
Methodforward
(self, x, y)
intermediate_source/torch_export_tutorial.py:70
Methodforward
(self, x)
intermediate_source/torch_export_tutorial.py:115
Methodforward
(self, x)
intermediate_source/torch_export_tutorial.py:130
Methodforward
(self, x)
intermediate_source/torch_export_tutorial.py:143
Methodforward
(self, x)
intermediate_source/torch_export_tutorial.py:200
Methodforward
(self, xs, y, z)
intermediate_source/torch_export_tutorial.py:232
Methodforward
( self, w: torch.Tensor, # [6, 5] x: torch.Tensor, # [4] y: torch.Tensor, #
intermediate_source/torch_export_tutorial.py:261
Methodforward
(self, x, y)
intermediate_source/torch_export_tutorial.py:551
Methodforward
(self, x)
intermediate_source/torch_export_tutorial.py:811
Methodforward
(self, x)
intermediate_source/torch_export_tutorial.py:854
Methodforward
(self, x)
intermediate_source/torch_export_tutorial.py:969
Methodforward
(self, x)
intermediate_source/reinforcement_q_learning.py:239
Methodforward
(self, x)
intermediate_source/per_sample_grads.py:34
Methodforward
Forward pass; runs the following process: 1. Apply input projection 2. Split heads and prepare for SDPA 3
intermediate_source/transformer_building_blocks.py:212
Methodforward
(self, x)
intermediate_source/transformer_building_blocks.py:701
Methodforward
(self, query)
intermediate_source/transformer_building_blocks.py:711
Methodforward
(self, x)
intermediate_source/transformer_building_blocks.py:766
Methodforward
(self, x)
intermediate_source/transformer_building_blocks.py:795
Methodforward
(self, x)
intermediate_source/pruning_tutorial.py:54
Methodforward
(self, x)
intermediate_source/ensembling.py:38
Methodforward
(ctx, X, weight)
intermediate_source/custom_function_conv_bn_tutorial.py:63
Methodforward
(ctx, X, eps=1e-3)
intermediate_source/custom_function_conv_bn_tutorial.py:128
Methodforward
(ctx, X, conv_weight, eps=1e-3)
intermediate_source/custom_function_conv_bn_tutorial.py:166
Methodforward
(self, X)
intermediate_source/custom_function_conv_bn_tutorial.py:224
Methodforward
(self, x)
intermediate_source/custom_function_conv_bn_tutorial.py:265
Methodforward
(self, x)
intermediate_source/spatial_transformer_tutorial.py:135
Methodforward
(self, input)
intermediate_source/seq2seq_translation_tutorial.py:342
Methodforward
(self, encoder_outputs, encoder_hidden, target_tensor=None)
intermediate_source/seq2seq_translation_tutorial.py:382
Methodforward
(self, query, keys)
intermediate_source/seq2seq_translation_tutorial.py:471
Methodforward
(self, encoder_outputs, encoder_hidden, target_tensor=None)
intermediate_source/seq2seq_translation_tutorial.py:489
Methodforward
(self, x)
intermediate_source/parametrizations.py:69
Methodforward
(self, X)
intermediate_source/parametrizations.py:99
Methodforward
(self, X)
intermediate_source/parametrizations.py:120
Methodforward
(self, X)
intermediate_source/parametrizations.py:199
Methodforward
(self, X)
intermediate_source/parametrizations.py:228
Methodforward
(self, X)
intermediate_source/parametrizations.py:244
Methodforward
(self, X)
intermediate_source/parametrizations.py:341
Methodforward
(self, x)
intermediate_source/scaled_dot_product_attention_tutorial.py:149
Methodforward
(self, x)
intermediate_source/visualizing_gradients_tutorial.py:85
Methodforward
(self, x)
intermediate_source/torch_compile_conv_bn_fuser.py:48
Methodforward
(self, x)
intermediate_source/torch_compile_conv_bn_fuser.py:63
Methodforward
(self, x)
intermediate_source/mnist_train_nas.py:93
Methodforward
(self, x)
intermediate_source/torch_compile_tutorial.py:125
Methodforward
(self, input, model)
intermediate_source/mario_rl_tutorial.py:436
Methodforward
(self, x)
intermediate_source/autograd_saved_tensors_hooks_tutorial.py:330
Methodforward
(self, *args, **kwargs)
intermediate_source/autograd_saved_tensors_hooks_tutorial.py:358
Methodforward
(self, *args, **kwargs)
intermediate_source/autograd_saved_tensors_hooks_tutorial.py:496
Methodforward
(self, x)
intermediate_source/intermediate_data_loading_tutorial.py:153
Methodforward
(self, category, input, hidden)
intermediate_source/char_rnn_generation_tutorial.py:168
Methodforward
(self, x)
intermediate_source/neural_tangent_kernels.py:42
Methodforward
(ctx, input)
advanced_source/numpy_extensions_tutorial.py:39
Methodforward
(ctx, input, filter, bias)
advanced_source/numpy_extensions_tutorial.py:89
Methodforward
(self, input)
advanced_source/numpy_extensions_tutorial.py:116
Methodforward
(self, input)
advanced_source/neural_style_tutorial.py:181
Methodforward
(self, input)
advanced_source/neural_style_tutorial.py:243
Methodforward
(self, img)
advanced_source/neural_style_tutorial.py:289
Methodforward
(self, s: str)
advanced_source/custom_classes/custom_class_project/save.py:10
Methodforward
(self, s: str)
advanced_source/custom_classes/custom_class_project/export_attr.py:12
Methodforward
(self, indices, offsets)
advanced_source/rpc_ddp_tutorial/main.py:33
Functionforward1
(self, arg0_1, arg1_1)
intermediate_source/inductor_debug_cpu.py:103
Functionforward2
(self, arg0_1)
intermediate_source/inductor_debug_cpu.py:341
Functionfunc_params_only
(params)
intermediate_source/forward_ad_usage.py:239
Functionfunc_x1
(params)
intermediate_source/neural_tangent_kernels.py:199
Functionfunc_x2
(params)
intermediate_source/neural_tangent_kernels.py:202
Functionfuse_conv_bn_eval
Given a conv Module `A` and an batch_norm module `B`, returns a conv module `C` such that C(x) == B(A(x)) in inference mode.
intermediate_source/torch_compile_conv_bn_fuser.py:105
Functionfw_hook
(module, input, output)
recipes_source/recipes/reasoning_about_shapes.py:75
Functiongelu
(x)
recipes_source/recipes/tuning_guide.py:149
Functiongen_params
Returns a ``tensordict`` containing the physical parameters such as gravitational force and torque or speed limits.
advanced_source/pendulum.py:487
Functionget_ntk
(x1, x2)
intermediate_source/neural_tangent_kernels.py:198
Functionget_ntk_slice
(vec)
intermediate_source/neural_tangent_kernels.py:207
Functionget_vjp
(v)
unstable_source/vmap_recipe.py:99
Functiongrad_sample
(sample)
unstable_source/vmap_recipe.py:116
Functiongroup_by_file
(fn_name: str)
recipes_source/recipes/timer_quick_start.py:225
Functionhandle_jinja_templates
(app, docname, source)
conf.py:332
Methodhandle_request
Handle an incoming HTTP request using FastAPI. Inputs are automatically validated using the Pydantic model.
beginner_source/serving_tutorial.py:155
Functionhook
Forward pass hook which attaches backward pass hooks to intermediate tensors
intermediate_source/visualizing_gradients_tutorial.py:145
Functionhtml_page_context
(app, pagename, templatename, context, doctree)
conf.py:442
← previousnext →601–700 of 760, ranked by callers