Expand description
C FFI bindings for GhostFlow
This module provides C-compatible APIs for using GhostFlow from other languages like Python, C++, Java, Go, etc.
Structs§
- Ghost
Flow Model - Opaque handle to a GhostFlow model
- Ghost
Flow Tensor - Opaque handle to a GhostFlow tensor
Enums§
- Ghost
Flow Error - Error codes
Functions§
- ghostflow_
free_ ⚠string - Free a version string
- ghostflow_
get_ last_ error - Get last error message
- ghostflow_
init - Initialize GhostFlow library
- ghostflow_
tensor_ ⚠add - Add two tensors
- ghostflow_
tensor_ ⚠create - Create a new tensor from data
- ghostflow_
tensor_ ⚠data - Get tensor data
- ghostflow_
tensor_ ⚠free - Free a tensor
- ghostflow_
tensor_ ⚠matmul - Matrix multiplication
- ghostflow_
tensor_ ⚠mul - Multiply two tensors element-wise
- ghostflow_
tensor_ ⚠ones - Create a tensor filled with ones
- ghostflow_
tensor_ ⚠reshape - Reshape a tensor
- ghostflow_
tensor_ ⚠shape - Get tensor shape
- ghostflow_
tensor_ ⚠zeros - Create a tensor filled with zeros
- ghostflow_
version - Get GhostFlow version string