Getting started
Configuration
Usage
API
Splits a tensor in depth.
inputs – A tf.Tensor of shape \([B, T, D]\).
tf.Tensor
num_heads – The number of heads \(H\).
A tf.Tensor of shape \([B, H, T, D / H]\).