Documentation ¶
Index ¶
- func Log(s *op.Scope, value interface{}) (*tf.Tensor, tf.Output, error)
- func MakeConst(s *op.Scope, value interface{}) (tf.Output, error)
- func MakeTensorAndOutput(s *op.Scope, value interface{}) (*tf.Tensor, tf.Output, error)
- func RandomSample(t *tf.Tensor) (*tf.Tensor, error)
- func ReduceMean(t *tf.Tensor) (*tf.Tensor, error)
- func RegisteredOps() (*pb.OpList, error)
- func SaySomething(saying string) string
- func Square(s *op.Scope, value interface{}) (*tf.Tensor, tf.Output, error)
- func SquareT(t *tf.Tensor) (*tf.Tensor, error)
- func SumOfSquares(s *op.Scope, value interface{}) (*tf.Tensor, tf.Output, error)
- func Variable(scope *op.Scope, initialValue tf.Output) (init *tf.Operation, handle, value tf.Output)
- func VariableAndTensor(scope *op.Scope, initialValue tf.Output, v interface{}) (t *tf.Tensor, init *tf.Operation, handle, value tf.Output)
- func Version() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeTensorAndOutput ¶
func ReduceMean ¶
ReduceMean - mean accross elements
func RegisteredOps ¶
RegisteredOps returns all of the supported TF c/c++ api
func SumOfSquares ¶
SumOfSquares - accepts a value (expecting [][]float64) and returns sum of squares
func Variable ¶
func Variable(scope *op.Scope, initialValue tf.Output) (init *tf.Operation, handle, value tf.Output)
Variable - this function creats a variable for training purposes.
Returns: the init operation - very important - this needs to be run in a session to be initialized a handle to the variable - for use in assignment operations an Output that produces the current value of the variable
func VariableAndTensor ¶
func VariableAndTensor(scope *op.Scope, initialValue tf.Output, v interface{}) (t *tf.Tensor, init *tf.Operation, handle, value tf.Output)
Variable - this function creats a variable for training purposes.
Returns: the init operation - very important - this needs to be run in a session to be initialized a handle to the variable - for use in assignment operations an Output that produces the current value of the variable
Types ¶
This section is empty.