Skip to main content

Module tensor

Module tensor 

Source
Expand description

Tensor module - PyTorch-compatible tensor operations in Python bindings

This module provides a modular structure for tensor operations:

  • core - Core PyTensor struct and basic operations
  • creation - Tensor creation functions (zeros, ones, randn, etc.)

Re-exports§

pub use core::PyTensor;
pub use creation::register_creation_functions;

Modules§

core
Core tensor implementation - PyTensor struct and fundamental operations
creation
Tensor creation functions - zeros, ones, randn, etc.