aesara.tensor.empty

Contents

aesara.tensor.empty#

aesara.tensor.empty(shape, dtype=None)[source]#

Return a new array of given shape and type, without initializing entries.

See numpy.empty.

Parameters:
  • shape (int or tuple of int) – Shape of the empty array, e.g., (2, 3) or 2.

  • dtype (data-type, optional) – Desired output data-type for the array, e.g, numpy.int8. Default is numpy.float64.