TensorBuffer constructor

  1. @protected
TensorBuffer(
  1. List<int> shape
)

Constructs a fixed size TensorBuffer with specified shape.

Implementation

@protected
TensorBuffer(List<int> shape) {
  _isDynamic = false;
  _allocateMemory(shape);
}