Skip to content
Permalink
Browse files

feat(engine): add comment and removed dead code

  • Loading branch information
owulveryck committed Sep 2, 2019
1 parent f486d2e commit bace889089fade71221c7081ac239157d882bce2
Showing with 1 addition and 2 deletions.
  1. +1 −2 engine.go
@@ -5,13 +5,12 @@ import (
"gorgonia.org/tensor"
)

type SymbolicEngine struct{}

// StandardEngine is the default CPU engine for gorgonia
type StandardEngine struct {
tensor.StdEng
}

// Transpose tensor a according to expStrides
func (e StandardEngine) Transpose(a tensor.Tensor, expStrides []int) error {
if !a.IsNativelyAccessible() {
return errors.Errorf("Cannot Transpose() on non-natively accessible tensor")

0 comments on commit bace889

Please sign in to comment.
You can’t perform that action at this time.