hpt-common 0.1.3

An internal library for common utilities for hpt
Documentation
//! Error handling for tensor operations
//!
//! This module contains various error types used throughout the tensor library,
//! organized by their domains (shape, device, memory, kernel, etc.)

/// Autograd-related errors (gradient computation, etc.)
pub mod autograd;
/// Base error types and common functionality
pub mod base;
/// Common errors
pub mod common;
/// Device-related errors (GPU, CPU, etc.)
pub mod device;
/// Kernel-related errors (CUDA, etc.)
pub mod kernel;
/// Memory allocation and management errors
pub mod memory;
/// Parameter-related errors (function arguments, etc.)
pub mod param;
/// Random distribution-related errors
pub mod random;
/// Shape-related errors (dimension mismatch, broadcasting, etc.)
pub mod shape;