Documentation ¶
Index ¶
- func AssertTensorFormat(t Tensor) error
- func BuildTensor(dimension int, numAxes int) interface{}
- func Convert(val interface{}, typ reflect.Type) (interface{}, error)
- func VerticalVector(a Tensor, pos int) []float64
- type Tensor
- func AddScalar(a Tensor, scalar float64) Tensor
- func Dot(a, b Tensor) Tensor
- func DotScalar(a Tensor, scalar float64) Tensor
- func NewTensor(data [][]float64) Tensor
- func Pow(a Tensor, pow float64) Tensor
- func Rand(rows, cols int) Tensor
- func ReLU(a Tensor) Tensor
- func ScalarMinusTensor(a Tensor, scalar float64) Tensor
- func Softmax(tensor Tensor) Tensor
- func Sub(a, b Tensor) Tensor
- func Sum(params ...Tensor) Tensor
- func Tanh(a Tensor) Tensor
- func TensorOpsScalar(a Tensor, b float64, ops string) Tensor
- func TensorOpsTensor(a Tensor, b Tensor, ops string) Tensor
- func TensorOpsTensorWithBroadcasting(a Tensor, b Tensor, ops string) Tensor
- func Zeros(rows, cols int) Tensor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertTensorFormat ¶
func AssertTensorFormat(t Tensor) error
func BuildTensor ¶
func VerticalVector ¶
Types ¶
type Tensor ¶
func ScalarMinusTensor ¶
func (Tensor) SameTensorRowColShape ¶
func (Tensor) SameTensorShape ¶
Click to show internal directories.
Click to hide internal directories.