cu

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package Cu implements the learning stage of the Neurlang classifier on CUDA

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HyperParameters

type HyperParameters struct {
	learning.HyperParameters

	CuCutoff        uint32 // the switchover point to cuda. Smaller problems go to cuda
	CuMemoryBytes   uint64 // statically set memory
	CuMemoryPortion uint16 // how many percent of gpu memory to use. 2=half, 3=third
	CuErase         bool   // pre-erase memory set
	// contains filtered or unexported fields
}

func (*HyperParameters) H

func (*HyperParameters) SetLogger

func (h *HyperParameters) SetLogger(filename string)

SetLogger sets the output logger file where hashtron golang code programs are written

func (*HyperParameters) Solve

Solve directly solves a single hashtron on a splitted dataset d. It outputs the size of solution and the trained hashtron if successful. Most callers should use Training instead.

func (*HyperParameters) Training

Training trains a single hashtron on a dataset d. It outputs the trained hashtron if successful, or an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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