notes

Contents:

  • C++
  • Sphinx
  • git
  • docker
  • LaTeX
  • Kaldi
  • bash
  • CUDA
  • torch
    • torch.load and torch.save
    • torch.gather
    • DDP
    • TorchScript
      • doxygen doc
      • Hello
      • Load in C++
      • ArrayRef
      • ScalarType
      • TypeMeta
      • torch::Device
      • TensorOptions
      • Tensor Creation
      • Tensor
      • intrusive_ptr
      • optional
      • PackedSequence
      • ivalue
      • method
      • type
      • trace
      • Node
      • symbol
      • graph
      • passes
      • ops
      • Add extra files
    • Logical operations
    • Note
    • Quantization
    • android
    • onnx
    • nn.LSTM
    • torchvision
    • audograd
    • seed
    • float16
    • Dynamo
    • random
    • compile
    • benchmark
    • cv2
    • einsum
  • Python
  • java
  • javascript
  • HTML
  • css
  • pybind11
  • Protocol Buffers
  • gRPC
  • lwn.net
  • Linker and Loader
  • espnet
  • cmake
  • huggingface
  • EECS E6870 Speech Recognition
  • ncnn
  • LLVM
  • Android
  • qemu
  • sox
  • MNN
  • SIMD
  • asio
  • websocketpp
  • Operating systems
  • encoding
  • ios
  • Embedded systems
  • ssh
  • onnx
  • csharp
  • Flask
  • ARM
  • VirtualBox
  • Go
  • Whisper
  • Windows
  • qt
  • webassembly
  • spleeter
  • django
  • React
  • tts
  • rust
  • ELF
  • ROS2
  • OpenFst
  • Colab
  • Dart
  • Flutter
  • Keyword spotting (KWS)
  • Papers
  • Pascal
  • ggml
  • Amphion
  • HarmonyOS
  • icefall
  • RKNN
  • lhotse
  • ffmpeg
  • vlc
notes
  • torch
  • TorchScript
  • Edit on GitHub

TorchScript

  • doxygen doc
  • Hello
    • torch.jit.script as a decorator
    • torch.jit.script as a function
    • torchscript a module
    • trace a module
      • Export and ignore methods
  • Load in C++
  • ArrayRef
    • Constructors
      • Data members
      • Default constructed
      • From a single element
      • From an initializer list
      • Other types of constructors
  • ScalarType
    • Members
      • Some aliases
    • ScalarType to CPP type
    • CPP type to ScalarType
  • TypeMeta
    • Constructors
    • Operations with ScalarType
  • torch::Device
    • DeviceType
    • Device
  • TensorOptions
    • Constructors (not recommended)
    • Constructors (Recommended)
    • Methods
  • Tensor Creation
    • TensorDataContainer
    • From std::vector
    • From scalar
    • From initializer list
    • From ArrayRef
  • Tensor
    • Common methods
      • slice
      • topk
      • floor_divide
      • div
      • remainder
      • empty
      • stack
      • unbind
      • full
      • split
      • zeros
      • cat
      • division
      • default constructed
      • copy
      • default addmm
      • elementwise operation
      • torch.roll
      • torch.mean
      • torch.slice
      • torch.as_strided
      • torch.argmax
      • torch.index
      • torch.nn.functional.pad
      • torch.index_put
      • torch.nonzero
  • intrusive_ptr
  • optional
  • PackedSequence
    • pack_padded_sequence
  • ivalue
  • method
  • type
  • trace
  • Node
  • symbol
  • graph
  • passes
    • _jit_pass_fuse_add_relu
      • in_place relu_
    • _jit_pass_fuse_linear
  • ops
    • aten::add
    • aten::add_
    • aten::_add_relu
    • aten::add_relu_
    • aten::_add_relu_
    • aten::relu
  • Add extra files
Previous Next

© Copyright 2022, fangjun.

Built with Sphinx using a theme provided by Read the Docs.