Skip to content

Instantly share code, notes, and snippets.

@carbide-public
Last active March 2, 2022 17:16
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 carbide-public/ab7c9540f72ad6b6eb7f0ce63a187bc8 to your computer and use it in GitHub Desktop.
Save carbide-public/ab7c9540f72ad6b6eb7f0ce63a187bc8 to your computer and use it in GitHub Desktop.
untitled
import _ from "lodash"
import fill from "ndarray-fill"
import zeros from "zeros"
let a = zeros([10,10])
fill(a, (x,y) => 5.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment