TensorShape constructor

const TensorShape(
  1. int x, [
  2. int y = 0,
  3. int z = 0,
  4. int w = 0,
])

Implementation

const TensorShape(this.x, [this.y = 0, this.z = 0, this.w = 0])
    : assert(x >= 0),
      assert(y >= 0),
      assert(z >= 0),
      assert(w >= 0);