Documentation
¶
Overview ¶
This package provides an abstraction to tensorflow training which is carried out in python rather than go.
Index ¶
- Constants
- func EnableDebug(b bool)
- func NewTensorflowMLF() training.MLFramework
- type TensorflowError
- type TensorflowFramework
- func (t *TensorflowFramework) Aggregate(updates []string) (aggregatedWeights string, err error)
- func (t *TensorflowFramework) Evaluate(configuration string, weights string) (results training.EvaluationResults, err error)
- func (t *TensorflowFramework) Train(configuration string, weights string) (updatedWeights string, err error)
Constants ¶
View Source
const CONFIG_FILE string = "config.in"
View Source
const OUTPUT_FILE string = "output.out"
View Source
const WEIGHTS_FILE string = "weights.in"
Variables ¶
This section is empty.
Functions ¶
func EnableDebug ¶
func EnableDebug(b bool)
func NewTensorflowMLF ¶
func NewTensorflowMLF() training.MLFramework
Types ¶
type TensorflowError ¶
func (*TensorflowError) Error ¶
func (e *TensorflowError) Error() string
type TensorflowFramework ¶
type TensorflowFramework struct {
}
func (*TensorflowFramework) Aggregate ¶
func (t *TensorflowFramework) Aggregate(updates []string) (aggregatedWeights string, err error)
func (*TensorflowFramework) Evaluate ¶
func (t *TensorflowFramework) Evaluate(configuration string, weights string) (results training.EvaluationResults, err error)
Click to show internal directories.
Click to hide internal directories.