Skip to content

Instantly share code, notes, and snippets.

@FrancescAlted
Created September 12, 2022 07:23
Show Gist options
  • Select an option

  • Save FrancescAlted/4691305cfd46e68cf836610365fdcb1c to your computer and use it in GitHub Desktop.

Select an option

Save FrancescAlted/4691305cfd46e68cf836610365fdcb1c to your computer and use it in GitHub Desktop.

Revisions

  1. FrancescAlted created this gist Sep 12, 2022.
    4 changes: 4 additions & 0 deletions create_square_board.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    expr = ia.expr_from_udf(filter_func,
    [rand_data],
    [shape[0], shape[1], False])
    square = expr.eval()