internal/

directory
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2026 License: Apache-2.0

Directories

Path Synopsis
cmd
gobackend_ops_generator command
gobackend_generator auto-generates parts of the Go backend:
gobackend_generator auto-generates parts of the Go backend:
gobackend_opsregistration command
gobackends_ops_registration generates a registration system for each of the compute.StandardOps methods, so they can be implemented separated by separate packages, as well as stub methods for `gobackends.Backend` that calls the corresponding registered method if configured.
gobackends_ops_registration generates a registration system for each of the compute.StandardOps methods, so they can be implemented separated by separate packages, as well as stub methods for `gobackends.Backend` that calls the corresponding registered method if configured.
notimplemented_generator command
notimplemented_generator generates "notimplemented" stubs for every API of the compute.Backend interface
notimplemented_generator generates "notimplemented" stubs for every API of the compute.Backend interface
Package exceptions provide helper functions to leverage Go's `panic`, `recover` and `defer` as an "exceptions" system.
Package exceptions provide helper functions to leverage Go's `panic`, `recover` and `defer` as an "exceptions" system.
Package fastmath provides faster float32 approximations of selected math functions for use in go-backend kernels where small errors are acceptable (e.g.
Package fastmath provides faster float32 approximations of selected math functions for use in go-backend kernels where small errors are acceptable (e.g.
Package gobackend implements a compute.Backend using Go only.
Package gobackend implements a compute.Backend using Go only.
defaultpkgs
Package defaultpkgs imports all the sub-packages that implement the gobackend.
Package defaultpkgs imports all the sub-packages that implement the gobackend.
dot
Package dot implements a general-purpose "dot product" ("Einsum") computation.
Package dot implements a general-purpose "dot product" ("Einsum") computation.
dot/matmul
package matmul provides the base implementations of matrx multiply for DotGeneral.
package matmul provides the base implementations of matrx multiply for DotGeneral.
ops
Package ops has the base implementation for most operations for the Go backend.
Package ops has the base implementation for most operations for the Go backend.
Package must provide a set of functions that check for errors and panic on error.
Package must provide a set of functions that check for errors and panic on error.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL