Documentation ¶
Index ¶
- func Argument(test bool)
- func Assert(test bool)
- func AssertMsg(test bool, msg interface{})
- func Fatal(msg ...interface{})
- func FatalErr(err interface{}, msg ...interface{})
- func Fatalf(format string, 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 Log(msg ...interface{})
- 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 Progress(progress, total int, msg string)
- func SetProgress(f func(int, int, string))
- func Sprint(array ...interface{}) string
Constants ¶
This section is empty.
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.
func Println ¶
func Println(array ...interface{})
Produces nicely formatted output for multi-dimensional arrays.
func SetProgress ¶
Sets the function to be used internally by Progress. Avoids cyclic dependency on engine.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.