Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/tutorials
/ functions
Functions
760 in github.com/pytorch/tutorials
⨍
Functions
760
◇
Types & classes
160
↳
Endpoints
1
Method
forward
(self, x)
beginner_source/introyt/autogradyt_tutorial.py:262
Method
forward
(self, x)
beginner_source/introyt/modelsyt_tutorial.py:58
Method
forward
(self, x)
beginner_source/introyt/modelsyt_tutorial.py:163
Method
forward
(self, sentence)
beginner_source/introyt/modelsyt_tutorial.py:264
Method
forward
(self, x)
beginner_source/introyt/trainingyt.py:147
Method
forward
(self, x)
beginner_source/basics/quickstart_tutorial.py:106
Method
forward
(self, x)
beginner_source/basics/optimization_tutorial.py:62
Method
forward
(self, x)
beginner_source/basics/buildmodel_tutorial.py:60
Method
forward
(self, x)
beginner_source/onnx/export_control_flow_model_to_onnx_tutorial.py:54
Method
forward
(self, x)
beginner_source/onnx/export_control_flow_model_to_onnx_tutorial.py:69
Method
forward
(self, input_x, input_y)
beginner_source/onnx/onnx_registry_tutorial.py:80
Method
forward
(self, input_x)
beginner_source/onnx/onnx_registry_tutorial.py:139
Method
forward
(self, input)
beginner_source/onnx/onnx_registry_tutorial.py:214
Method
forward
(self, x: torch.Tensor)
beginner_source/onnx/export_simple_model_to_onnx_tutorial.py:73
Method
forward
(self, sentence)
beginner_source/nlp/advanced_tutorial.py:284
Method
forward
(self, inputs)
beginner_source/nlp/word_embeddings_tutorial.py:234
Method
forward
(self, inputs)
beginner_source/nlp/word_embeddings_tutorial.py:340
Method
forward
(self, bow_vec)
beginner_source/nlp/deep_learning_tutorial.py:276
Method
forward
(self, sentence)
beginner_source/nlp/sequence_models_tutorial.py:170
Method
forward
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
Method
forward
Forward pass; runs the following process: 1. Apply input projection 2. Split heads and prepare for SDPA 3
unstable_source/nestedtensor.py:200
Method
forward
( self, x: torch.Tensor, cu_seq: torch.Tensor, max_len: int )
intermediate_source/variable_length_attention_tutorial.py:229
Method
forward
( self, tokens: torch.Tensor, cu_seq: torch.Tensor, max_len: int )
intermediate_source/variable_length_attention_tutorial.py:290
Method
forward
(self, x, y)
intermediate_source/torch_export_tutorial.py:70
Method
forward
(self, x)
intermediate_source/torch_export_tutorial.py:115
Method
forward
(self, x)
intermediate_source/torch_export_tutorial.py:130
Method
forward
(self, x)
intermediate_source/torch_export_tutorial.py:143
Method
forward
(self, x)
intermediate_source/torch_export_tutorial.py:200
Method
forward
(self, xs, y, z)
intermediate_source/torch_export_tutorial.py:232
Method
forward
( self, w: torch.Tensor, # [6, 5] x: torch.Tensor, # [4] y: torch.Tensor, #
intermediate_source/torch_export_tutorial.py:261
Method
forward
(self, x, y)
intermediate_source/torch_export_tutorial.py:551
Method
forward
(self, x)
intermediate_source/torch_export_tutorial.py:811
Method
forward
(self, x)
intermediate_source/torch_export_tutorial.py:854
Method
forward
(self, x)
intermediate_source/torch_export_tutorial.py:969
Method
forward
(self, x)
intermediate_source/reinforcement_q_learning.py:239
Method
forward
(self, x)
intermediate_source/per_sample_grads.py:34
Method
forward
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
Method
forward
(self, x)
intermediate_source/transformer_building_blocks.py:701
Method
forward
(self, query)
intermediate_source/transformer_building_blocks.py:711
Method
forward
(self, x)
intermediate_source/transformer_building_blocks.py:766
Method
forward
(self, x)
intermediate_source/transformer_building_blocks.py:795
Method
forward
(self, x)
intermediate_source/pruning_tutorial.py:54
Method
forward
(self, x)
intermediate_source/ensembling.py:38
Method
forward
(ctx, X, weight)
intermediate_source/custom_function_conv_bn_tutorial.py:63
Method
forward
(ctx, X, eps=1e-3)
intermediate_source/custom_function_conv_bn_tutorial.py:128
Method
forward
(ctx, X, conv_weight, eps=1e-3)
intermediate_source/custom_function_conv_bn_tutorial.py:166
Method
forward
(self, X)
intermediate_source/custom_function_conv_bn_tutorial.py:224
Method
forward
(self, x)
intermediate_source/custom_function_conv_bn_tutorial.py:265
Method
forward
(self, x)
intermediate_source/spatial_transformer_tutorial.py:135
Method
forward
(self, input)
intermediate_source/seq2seq_translation_tutorial.py:342
Method
forward
(self, encoder_outputs, encoder_hidden, target_tensor=None)
intermediate_source/seq2seq_translation_tutorial.py:382
Method
forward
(self, query, keys)
intermediate_source/seq2seq_translation_tutorial.py:471
Method
forward
(self, encoder_outputs, encoder_hidden, target_tensor=None)
intermediate_source/seq2seq_translation_tutorial.py:489
Method
forward
(self, x)
intermediate_source/parametrizations.py:69
Method
forward
(self, X)
intermediate_source/parametrizations.py:99
Method
forward
(self, X)
intermediate_source/parametrizations.py:120
Method
forward
(self, X)
intermediate_source/parametrizations.py:199
Method
forward
(self, X)
intermediate_source/parametrizations.py:228
Method
forward
(self, X)
intermediate_source/parametrizations.py:244
Method
forward
(self, X)
intermediate_source/parametrizations.py:341
Method
forward
(self, x)
intermediate_source/scaled_dot_product_attention_tutorial.py:149
Method
forward
(self, x)
intermediate_source/visualizing_gradients_tutorial.py:85
Method
forward
(self, x)
intermediate_source/torch_compile_conv_bn_fuser.py:48
Method
forward
(self, x)
intermediate_source/torch_compile_conv_bn_fuser.py:63
Method
forward
(self, x)
intermediate_source/mnist_train_nas.py:93
Method
forward
(self, x)
intermediate_source/torch_compile_tutorial.py:125
Method
forward
(self, input, model)
intermediate_source/mario_rl_tutorial.py:436
Method
forward
(self, x)
intermediate_source/autograd_saved_tensors_hooks_tutorial.py:330
Method
forward
(self, *args, **kwargs)
intermediate_source/autograd_saved_tensors_hooks_tutorial.py:358
Method
forward
(self, *args, **kwargs)
intermediate_source/autograd_saved_tensors_hooks_tutorial.py:496
Method
forward
(self, x)
intermediate_source/intermediate_data_loading_tutorial.py:153
Method
forward
(self, category, input, hidden)
intermediate_source/char_rnn_generation_tutorial.py:168
Method
forward
(self, x)
intermediate_source/neural_tangent_kernels.py:42
Method
forward
(ctx, input)
advanced_source/numpy_extensions_tutorial.py:39
Method
forward
(ctx, input, filter, bias)
advanced_source/numpy_extensions_tutorial.py:89
Method
forward
(self, input)
advanced_source/numpy_extensions_tutorial.py:116
Method
forward
(self, input)
advanced_source/neural_style_tutorial.py:181
Method
forward
(self, input)
advanced_source/neural_style_tutorial.py:243
Method
forward
(self, img)
advanced_source/neural_style_tutorial.py:289
Method
forward
(self, s: str)
advanced_source/custom_classes/custom_class_project/save.py:10
Method
forward
(self, s: str)
advanced_source/custom_classes/custom_class_project/export_attr.py:12
Method
forward
(self, indices, offsets)
advanced_source/rpc_ddp_tutorial/main.py:33
Function
forward1
(self, arg0_1, arg1_1)
intermediate_source/inductor_debug_cpu.py:103
Function
forward2
(self, arg0_1)
intermediate_source/inductor_debug_cpu.py:341
Function
func_params_only
(params)
intermediate_source/forward_ad_usage.py:239
Function
func_x1
(params)
intermediate_source/neural_tangent_kernels.py:199
Function
func_x2
(params)
intermediate_source/neural_tangent_kernels.py:202
Function
fuse_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
Function
fw_hook
(module, input, output)
recipes_source/recipes/reasoning_about_shapes.py:75
Function
gelu
(x)
recipes_source/recipes/tuning_guide.py:149
Function
gen_params
Returns a ``tensordict`` containing the physical parameters such as gravitational force and torque or speed limits.
advanced_source/pendulum.py:487
Function
get_ntk
(x1, x2)
intermediate_source/neural_tangent_kernels.py:198
Function
get_ntk_slice
(vec)
intermediate_source/neural_tangent_kernels.py:207
Function
get_vjp
(v)
unstable_source/vmap_recipe.py:99
Function
grad_sample
(sample)
unstable_source/vmap_recipe.py:116
Function
group_by_file
(fn_name: str)
recipes_source/recipes/timer_quick_start.py:225
Function
handle_jinja_templates
(app, docname, source)
conf.py:332
Method
handle_request
Handle an incoming HTTP request using FastAPI. Inputs are automatically validated using the Pydantic model.
beginner_source/serving_tutorial.py:155
Function
hook
Forward pass hook which attaches backward pass hooks to intermediate tensors
intermediate_source/visualizing_gradients_tutorial.py:145
Function
html_page_context
(app, pagename, templatename, context, doctree)
conf.py:442
← previous
next →
601–700 of 760, ranked by callers