 
   public init(withSizes sizes: [Int32]) {
     self.sizes = sizes
-    self.shape = sizes.map { Int($0) }
+    self.shape = [sizes.count]
   }
 
   public var description: String {

  }

  public func sample<G: RandomNumberGenerator>(generator: inout G) -> ShapedArray<Int32> {
    // TODO: return (self.np_random.random_sample(self.nvec.shape)*self.nvec).astype(self.dtype)
    fatalError("Not implemented.")
  }

  public func contains(_ value: ShapedArray<Int32>) -> Bool {

  public func sample<G: RandomNumberGenerator>(generator: inout G) -> ShapedArray<Int32> {
    var scalars: [Scalar] = []
    for _ in 0..<size {
      scalars.append(Int32.random(in: 0...1, using: &generator))
    }
    return ShapedArray<Int32>(shape: [size], scalars: scalars)
  }
