awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
torch avatar

torch/torch7

0
View on GitHub↗
9,127 estrellas·2,343 forks·C·11 vistas

Torch7

Torch7 is a scientific computing environment and tensor computation library used for deep learning research and numerical analysis. It functions as a Lua-based framework for training neural networks and learning agents, providing a toolkit for implementing architectures and training through reinforcement learning algorithms.

The project is distinguished by its tight integration with C, utilizing a binding layer to map high-level scripting to low-level C structures for direct memory access. It supports hardware-accelerated computation by offloading linear algebra and convolution operations to graphics processors.

The library provides extensive capabilities for multi-dimensional tensor manipulation, including stride-based views, reshaping, and slicing. Its mathematical surface covers a wide range of operations, from matrix decomposition and eigenvalue extraction to statistical metric calculation and random number generation.

Additional system-level tools include binary object serialization for persistent storage, event-driven asynchronous I/O for network communication, and a unit testing framework for numerical verification.

Features

  • Deep Learning Research - Functions as a flexible environment for developing and training novel neural network architectures.
  • Multi-Dimensional Arrays - Provides a core framework for performing mathematical operations on multi-dimensional tensors.
  • Convolutional Operations - Computes convolutions and cross-correlations between input tensors and kernels.
  • Hardware Acceleration - Offloads heavy linear algebra and convolution operations to graphics processors for accelerated computation.
  • Lua Deep Learning Frameworks - Provides a scientific computing environment for training learning agents and tensor operations using Lua.
  • Neural Network Training Frameworks - Ships a framework for implementing deep learning architectures and training agents via algorithms like DQN.
  • Numerical Computing Libraries - Performs high-performance linear algebra and multidimensional array operations with hardware acceleration.
  • Reinforcement Learning Training - Provides frameworks for training autonomous agents in simulation environments using reinforcement learning algorithms.
  • Raw Tensor Storage I/O - Provides raw byte-level reading and writing for the allocation and management of numerical tensor data.
  • Non-Zero Element Detection - Returns the indices of all non-zero elements within a tensor.
  • Tensor Indexing - Allows selection of entries along a dimension using a list of indices.
  • Element Modification - Provides capabilities to update specific tensor elements by copying or adding values based on an index list.
  • Tensor Initialization - Creates multi-dimensional arrays from tables, existing storage, or specified dimensions.
  • Tensor Libraries - Provides a library for multi-dimensional array manipulation and linear algebra with hardware acceleration.
  • Dimension Squeezing - Provides operations to remove dimensions of size one from tensors to simplify their shape.
  • Tensor Shape Inspection - Retrieves tensor metadata including number of dimensions, size, and memory strides.
  • Tensor Type Conversion - Converts tensors between different data types, such as floating-point to integer.
  • Unary Mathematical Operations - Performs transcendental mathematical transformations, such as logarithms and absolute values, on individual tensor elements.
  • Matrix Multiplication Utilities - Executes matrix-vector, matrix-matrix, and batched multiplications with support for broadcasting.
  • Constant Tensor Generation - Generates tensors filled with ones, zeros, or random numbers from standard statistical distributions.
  • Dimension Permutation - Swaps or reorders the dimensions of a tensor according to a specified permutation.
  • Dimension Resizing - Changes the dimensions of a tensor to a specific size or matches another tensor.
  • Dimension Splitting - Divides a tensor into smaller tensors along a specific dimension.
  • Tensor Cloning - Produces a complete copy of a tensor's data in a new memory allocation.
  • Tensor Concatenation - Joins multiple tensors along a specified dimension into a single larger tensor.
  • Tensor Data Repetition - Allocates memory to repeat tensor contents multiple times across specified dimensions.
  • Value Gathering - Collects values from each row of a source tensor based on an index tensor.
  • Value Scattering - Writes values from a source tensor into specific indices of a target tensor.
  • Strided - Implements strided memory layouts to manipulate tensor dimensions and shapes without duplicating data buffers.
  • Linear Algebra - Implements core linear algebra methods for solving systems of linear equations using LU and Cholesky decompositions.
  • Numerical Buffer Allocation - Allocates high-performance contiguous memory buffers in C for multi-dimensional numerical arrays.
  • Numeric Storage Allocation - Handles raw byte buffers of various data types to serve as the underlying memory for tensors.
  • Raw Memory Allocation - Creates contiguous arrays of basic C types for direct pointer access and high-performance memory operations.
  • C Language Binding Layers - Provides a binding layer to interface high-level scripting with low-level C libraries and memory.
  • Foreign Function Interfaces - Provides interfaces and binding layers that enable communication between high-level scripting and native C libraries.
  • Native C Interoperability - Provides interfaces for calling C functions and executing native code from a higher-level scripting language.
  • C Function Bindings - Maps native C functions and structures to a scripting environment to enable direct memory access.
  • Data Structure Mappings - Maps high-level tensor objects to C structures to enable direct memory access and high-performance computation.
  • Element-wise Array Operations - Executes custom functions on every individual element of a tensor to update its values.
  • Mask-Based Filtering - Implements selection and filling of tensor elements based on binary masks.
  • Matrix Decompositions - Provides matrix decomposition techniques including QR, SVD, and Cholesky decompositions.
  • Matrix Inversion Utilities - Computes the mathematical inverse of square matrices.
  • Numerical Analysis Toolkits - Provides a comprehensive toolkit for matrix decomposition, eigenvalue extraction, and statistical computing.
  • Numerical Computing - Executes high-performance mathematical operators across various numeric precisions including float, double, and half.
  • Statistical Metric Calculators - Calculates essential statistical metrics such as mean, standard deviation, and variance for tensor elements.
  • Random Number Generators - Produces random numbers across uniform, normal, exponential, and bernoulli distributions for stochastic operations.
  • Cumulative Sum Calculators - Computes running totals and cumulative products along specified tensor axes.
  • Dimension Expansion - Creates new tensor views by expanding single dimensions without duplicating underlying memory.
  • Tensor Reshaping - Implements operations to modify the dimensional layout of tensors without altering the underlying data.
  • Complex Data Serialization - Saves deep copies of complex data structures while optimizing duplicate references to maintain dependencies.
  • Data I/O - Provides primitives for reading and writing disk files using binary and ASCII encoding.
  • Buffer Serialization Interfaces - Saves and loads the contents of in-memory storages to and from persistent storage.
  • Scientific Tensor Serialization - Provides binary object serialization for persisting complex tensors and multidimensional data structures.
  • Slice Unfolding - Extracts all sliding slices of a given size and step from a tensor dimension.
  • Tensor Slicing - Provides capabilities to extract specific slices along tensor dimensions to create narrower views.
  • Extremum Value Detectors - Provides utilities to detect maximum, minimum, median, and mode values across tensors.
  • Multi-Tensor Mapping - Executes functions using elements from several tensors simultaneously to compute and store results.
  • Object Persistence - Allows saving and loading arbitrary data structures to disk to preserve state and share data.
  • Shared Memory Buffers - Creates new tensors that reference existing memory buffers to allow shared modifications without duplication.
  • Direct Buffer Processing - Executes element-wise functions directly on contiguous memory buffers to minimize processing overhead.
  • Object Prototypes - Creates objects with specific metatables and inheritance to organize data into reusable structures.
  • Diagonal Manipulations - Constructs diagonal matrices from vectors and extracts diagonals from matrices.
  • Permutation Generators - Generates random permutations and shuffles of integer sequences.
  • External Library Integrations - Links native code from external C libraries for graphics, networking, and other utilities.
  • Object Serialization - Implements the conversion of complex tensors and data structures into byte arrays for persistent disk storage.
  • Disk-based - Writes tensors and functions to files while maintaining type integrity and internal references.
  • Prototype-Based Inheritance - Uses a prototype-like metatable system to organize data structures and define custom tensor types.
  • Eigenvector Analysis Tools - Computes eigenvalues and eigenvectors for real square or symmetric matrices.
  • Identity Matrix Generators - Implements the generation of identity matrices used in linear algebra operations.
  • Linear Interpolators - Provides weighted linear interpolation between scalars and multi-dimensional tensors.
  • Norm Calculators - Computes p-norms of tensors and provides functionality to renormalize sub-tensors.
  • Multinomial Samplers - Implements multinomial distribution sampling for drawing indices based on probability distributions.
  • Spaced Sequence Generators - Creates one-dimensional tensors containing equally spaced linear or logarithmic points.
  • Tensor Sorting Utilities - Returns sorted values of a tensor along a dimension along with their original indices.
  • Triangular Matrix Extractors - Extracts the upper or lower triangular portion of a matrix.
  • Value Clamping Utilities - Restricts tensor elements to be within a defined minimum and maximum range.
  • Vector Dot Product Kernels - Provides high-performance computation of the inner product of two tensors treated as vectors.
  • Contiguous Memory Buffers - Ensures a contiguous data layout for tensors to optimize cache locality and processing speed.
  • Tensor Comparison Operators - Performs element-wise logical comparisons across tensors to produce boolean masks.
  • Array Equality Comparison - Compares numbers, strings, tables, and tensors for equality using optional numerical tolerance.
  • Unit Testing Frameworks - Executes automated unit test suites and reports outcomes with detailed stack tracebacks for numerical verification.
  • Scientific Computing - Scientific computing framework with GPU-accelerated machine learning support.

Historial de estrellas

Gráfico del historial de estrellas de torch/torch7Gráfico del historial de estrellas de torch/torch7

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace torch/torch7?

Torch7 is a scientific computing environment and tensor computation library used for deep learning research and numerical analysis. It functions as a Lua-based framework for training neural networks and learning agents, providing a toolkit for implementing architectures and training through reinforcement learning algorithms.

¿Cuáles son las características principales de torch/torch7?

Las características principales de torch/torch7 son: Deep Learning Research, Multi-Dimensional Arrays, Convolutional Operations, Hardware Acceleration, Lua Deep Learning Frameworks, Neural Network Training Frameworks, Numerical Computing Libraries, Reinforcement Learning Training.

¿Qué alternativas de código abierto existen para torch/torch7?

Las alternativas de código abierto para torch/torch7 incluyen: xtensor-stack/xtensor — xtensor is a C++ multidimensional array library for numerical computing that provides N-dimensional containers with an… tinygrad/tinygrad — Tinygrad is a deep learning framework and tensor computation engine designed for building and training neural… ml-explore/mlx — This project is a machine learning array framework and tensor computation library designed for high-performance… lyhue1991/eat_tensorflow2_in_30_days — This project is a structured learning curriculum and technical reference for mastering deep learning with TensorFlow.… tingsongyu/pytorch-tutorial-2nd — This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It… arrayfire/arrayfire — ArrayFire is a hardware-agnostic compute framework and JIT-compiled tensor engine designed for high-performance…

Alternativas open-source a Torch7

Proyectos open-source similares, clasificados según cuántas características comparten con Torch7.
  • xtensor-stack/xtensorAvatar de xtensor-stack

    xtensor-stack/xtensor

    3,748Ver en GitHub↗

    xtensor is a C++ multidimensional array library for numerical computing that provides N-dimensional containers with an interface mirroring the NumPy API. It utilizes a lazy evaluation expression engine to defer numerical computations until assignment, which minimizes memory allocations and intermediate copies. The library features a foreign memory array adaptor that allows it to wrap external buffers, such as NumPy arrays, to perform numerical operations in-place without duplicating data. It further optimizes performance through lazy broadcasting and a system that manages the lifetime of temp

    C++c-plus-plus-14multidimensional-arraysnumpy
    Ver en GitHub↗3,748
  • tinygrad/tinygradAvatar de tinygrad

    tinygrad/tinygrad

    33,147Ver en GitHub↗

    Tinygrad is a deep learning framework and tensor computation engine designed for building and training neural networks. It functions as a hardware abstraction layer that manages device memory, command queues, and kernel dispatching across heterogeneous computing architectures. By utilizing a lazy-evaluation approach, the framework constructs computational graphs that defer execution until data is explicitly required, allowing it to process only the necessary operations for a given result. The project distinguishes itself through a just-in-time compilation layer that transforms abstract comput

    Python
    Ver en GitHub↗33,147
  • ml-explore/mlxAvatar de ml-explore

    ml-explore/mlx

    27,047Ver en GitHub↗

    This project is a machine learning array framework and tensor computation library designed for high-performance numerical computing. It provides a comprehensive suite of tools for constructing and training neural networks, featuring an automatic differentiation engine that facilitates gradient-based optimization and complex mathematical modeling. The library distinguishes itself through a unified memory architecture that allows data to be shared across CPU and GPU devices without explicit copies, significantly reducing data movement overhead. Its execution model relies on a lazy evaluation en

    C++mlx
    Ver en GitHub↗27,047
  • lyhue1991/eat_tensorflow2_in_30_daysAvatar de lyhue1991

    lyhue1991/eat_tensorflow2_in_30_days

    9,933Ver en GitHub↗

    This project is a structured learning curriculum and technical reference for mastering deep learning with TensorFlow. It provides a comprehensive guide for building, training, and deploying neural networks, combining theoretical fundamentals with practical implementation examples. The repository distinguishes itself by covering the end-to-end machine learning workflow, from low-level tensor mathematics and linear algebra to the creation of complex model architectures. It includes specific guidance on developing data pipelines for diverse data types, such as images, text, and time-series seque

    Pythontensorflowtensorflow-examplestensorflow-tutorial
    Ver en GitHub↗9,933
  • Ver las 30 alternativas a Torch7→