Skip to content

remove obsolete encoding headers #3366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion beginner_source/blitz/autograd_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
A Gentle Introduction to ``torch.autograd``
===========================================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/blitz/cifar10_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Training a Classifier
=====================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/blitz/neural_networks_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Neural Networks
===============
Expand Down
2 changes: 0 additions & 2 deletions beginner_source/chatbot_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Chatbot Tutorial
================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/data_loading_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Writing Custom Datasets, DataLoaders and Transforms
===================================================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/dcgan_faces_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
DCGAN Tutorial
==============
Expand Down
1 change: 0 additions & 1 deletion beginner_source/deploy_seq2seq_hybrid_frontend_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Deploying a Seq2Seq Model with TorchScript
==================================================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/examples_nn/dynamic_net.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
PyTorch: Control Flow + Weight Sharing
--------------------------------------
Expand Down
1 change: 0 additions & 1 deletion beginner_source/examples_nn/polynomial_module.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
PyTorch: Custom nn Modules
--------------------------
Expand Down
1 change: 0 additions & 1 deletion beginner_source/examples_nn/polynomial_nn.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
PyTorch: nn
-----------
Expand Down
1 change: 0 additions & 1 deletion beginner_source/examples_nn/polynomial_optim.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
PyTorch: optim
--------------
Expand Down
1 change: 0 additions & 1 deletion beginner_source/examples_tensor/polynomial_numpy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Warm-up: numpy
--------------
Expand Down
1 change: 0 additions & 1 deletion beginner_source/examples_tensor/polynomial_tensor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
PyTorch: Tensors
----------------
Expand Down
1 change: 0 additions & 1 deletion beginner_source/fgsm_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Adversarial Example Generation
==============================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/flava_finetuning_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
TorchMultimodal Tutorial: Finetuning FLAVA
============================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Learning Hybrid Frontend Syntax Through Example
===============================================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/hyperparameter_tuning_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Hyperparameter tuning with Ray Tune
===================================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/knowledge_distillation_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Knowledge Distillation Tutorial
===============================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/nlp/advanced_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Advanced: Making Dynamic Decisions and the Bi-LSTM CRF
======================================================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/nlp/deep_learning_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Deep Learning with PyTorch
**************************
Expand Down
1 change: 0 additions & 1 deletion beginner_source/nlp/pytorch_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Introduction to PyTorch
***********************
Expand Down
1 change: 0 additions & 1 deletion beginner_source/nlp/sequence_models_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Sequence Models and Long Short-Term Memory Networks
===================================================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/nlp/word_embeddings_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Word Embeddings: Encoding Lexical Semantics
===========================================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/nn_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
What is `torch.nn` *really*?
============================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
`Introduction to ONNX <intro_onnx.html>`_ ||
`Exporting a PyTorch model to ONNX <export_simple_model_to_onnx_tutorial.html>`_ ||
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
`Introduction to ONNX <intro_onnx.html>`_ ||
**Exporting a PyTorch model to ONNX** ||
Expand Down
1 change: 0 additions & 1 deletion beginner_source/onnx/onnx_registry_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
`Introduction to ONNX <intro_onnx.html>`_ ||
`Exporting a PyTorch model to ONNX <export_simple_model_to_onnx_tutorial.html>`_ ||
Expand Down
1 change: 0 additions & 1 deletion beginner_source/saving_loading_models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Saving and Loading Models
=========================
Expand Down
2 changes: 0 additions & 2 deletions beginner_source/template_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
Template Tutorial
=================
Expand Down
1 change: 0 additions & 1 deletion beginner_source/transfer_learning_tutorial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Transfer Learning for Computer Vision Tutorial
==============================================
Expand Down
Loading