TensorShape

fun TensorShape(dims: LongArray)

Creates a new TensorShape with the given dimensions.

Parameters

dims

The sizes of the remaining dimensions

fun TensorShape(firstDimension: Long, vararg dims: Long)

Creates a new TensorShape with the given dimensions.

Parameters

firstDimension

The size of the first dimension

dims

The sizes of the remaining dimensions

fun TensorShape()