the workspace ends past a layer's tensors and past the output's and the
output gradient's (placed from its start, below), whichever reach further
583def cgWorkEnd : Nat =
584 (naturalSaturatingSubtract
585 (naturalSelect
586 (naturalLess (naturalAdd cgDown cgPlaneBytes) (naturalAdd cgEmbeddingHalfT cgEmbeddingHalfTBytes))
587 (naturalAdd cgEmbeddingHalfT cgEmbeddingHalfTBytes)
588 (naturalAdd cgDown cgPlaneBytes))
589 (cgArena zero))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.