impl

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Package impl provides a structure pointing to standard library functions provided by a backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	While interp.FuncBuiltin
}

Control is the implementation of the control package.

type Dtype

type Dtype struct {
	Reinterpret interp.FuncBuiltin
}

Dtype is the implementation of the dtype package.

type Math

Math is the implementation of the math package.

type Num

type Num struct {
	Iota      interp.FuncBuiltin
	Einsum    interp.FuncBuiltin
	MatMul    interp.FuncBuiltin
	Sum       interp.FuncBuiltin
	Transpose interp.FuncBuiltin
	ReduceMax interp.FuncBuiltin
	Argmax    interp.FuncBuiltin
}

Num is the implementation of the num package.

type Rand

type Rand struct {
	PhiloxUint32 interp.FuncBuiltin
	PhiloxUint64 interp.FuncBuiltin
}

Rand of the rand package

type Shapes

type Shapes struct {
	Concat interp.FuncBuiltin
	Len    interp.FuncBuiltin
	Split  interp.FuncBuiltin
	Gather interp.FuncBuiltin
}

Shapes is the implementation of the shapes package.

type Stdlib

type Stdlib struct {
	Control Control
	Dtype   Dtype
	Math    Math
	Num     Num
	Rand    Rand
	Shapes  Shapes
}

Stdlib is an implementation of the standard library functions by a backend.

Jump to

Keyboard shortcuts

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