Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
update with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lanking520 committed Oct 24, 2018
1 parent a372583 commit 5a74776
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import java.io.File
import java.util.concurrent.atomic.AtomicInteger

import org.apache.mxnet.NDArrayConversions._
import org.apache.mxnet.util.Visualize
import org.scalatest.{BeforeAndAfterAll, FunSuite, Matchers}

import scala.collection.mutable.ArrayBuffer
Expand Down Expand Up @@ -87,9 +88,9 @@ class NDArraySuite extends FunSuite with BeforeAndAfterAll with Matchers {

test("test Visualize") {
var nd = NDArray.ones(Shape(1, 2, 100, 1))
nd.visualize
Visualize.toString(nd)
nd = NDArray.ones(Shape(1, 4))
nd.visualize
Visualize.toString(nd)
}

test("plus") {
Expand Down

0 comments on commit 5a74776

Please sign in to comment.