today lesson is about some witchcraft.. how the he...
# getting-started
e
today lesson is about some witchcraft.. how the hell can they at Facebook have such a syntax:
Copy code
typealias BatchSize = 100
typealias Height = 40
typealias Width = 50
  
fun getFirst(
  input: Tensor<[BatchSize, Height, Width]>
): Tensor<[Height, Width]> {
 ...
}
typealias
integer values or square brackets in type parameters..?
ok, they are probably messing with the compiler
👍 2