Documentation ¶
Index ¶
- Constants
- func Argument(test bool)
- func Assert(test bool)
- func AssertMsg(test bool, msg interface{})
- func FatalErr(err interface{}, msg ...interface{})
- func Fprint(out io.Writer, array ...interface{})
- func Fprintf(out io.Writer, format string, array ...interface{})
- func FprintfFloats(out io.Writer, format string, a [][][]float32)
- func FprintfTensors(out io.Writer, format string, a [][][][]float32)
- func LogErr(err error, msg ...interface{})
- func NoExt(file string) string
- func PanicErr(err error)
- func Print(array ...interface{})
- func Printf(format string, array ...interface{})
- func Println(array ...interface{})
- func SwapIndex(index, dim int) int
Constants ¶
View Source
const ( X = 0 Y = 1 Z = 2 )
Indices for vector components
Variables ¶
This section is empty.
Functions ¶
func FatalErr ¶
func FatalErr(err interface{}, msg ...interface{})
If err != nil, trigger log.Fatal(msg, err)
func FprintfFloats ¶
Produces nicely formatted output.
func FprintfTensors ¶
Produces nicely formatted output.
func Print ¶
func Print(array ...interface{})
Produces nicely formatted output for multi-dimensional arrays.
func Printf ¶
func Printf(format string, array ...interface{})
Produces nicely formatted output for multi-dimensional arrays.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.