toTensorShape

fun IntArray.toTensorShape(): TensorShape

Wraps an IntArray to TensorShape.