Source/Packages

Runtime.NativeDataParallel

packages/execution/src/Runtime/NativeDataParallel.alpha

1,529 lines92 declarations70.3 KiBSHA-256 a009e951c1b2

def · lines 487–491

dpShardCount

Full file
The replicated regions' shard count: parameters, and optimizer state when the learner has any.
487def dpShardCount =
488  (lambda unrestricted c : Nat .
489    (lambda unrestricted u : Nat .
490      (lambda unrestricted system : (family DataParallelSystem c u) .
491        (naturalAdd 1 (naturalNonzero (dpM c u system))))))

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.