Skip to content

Instantly share code, notes, and snippets.

@coreyoconnor
Last active June 22, 2020 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreyoconnor/9bef18228717f838fee439823e559a03 to your computer and use it in GitHub Desktop.
Save coreyoconnor/9bef18228717f838fee439823e559a03 to your computer and use it in GitHub Desktop.
interp.load.ivy(
("org.platanios" %% "tensorflow" % "0.4.1").withClassifier("linux-cpu-x86_64")
)
import $ivy.`org.plotly-scala::plotly-almond:0.7.6`
import $ivy.`org.platanios::tensorflow:0.4.1`
import plotly._
import plotly.element._
import plotly.layout._
import plotly.Almond._
import org.platanios.tensorflow.api._
repl.pprinter() = {
val p = repl.pprinter()
p.copy(
additionalHandlers = p.additionalHandlers.orElse {
case t: Tensor[_] => pprint.Tree.Literal(t.summarize())
}
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment