ComputeAlgorithmRef
References the algorithm to run, in
nautilus.compute() and
nautilus.freeCompute().
Everything ComputeAssetRef has, plus two algorithm-specific
fields.
Usage
const : ComputeAlgorithmRef = {
: 'did:ope:5678wxyz...'
}Properties
did / serviceId / userdata
As ComputeAssetRef.
algocustomdata (optional)
- Type:
Record<string, unknown>
Values for the algorithm's own consumer parameters, as distinct from the dataset's
userdata.
const : ComputeAlgorithmRef = {
: 'did:ope:5678wxyz...',
: { : 10 }
}envs (optional)
- Type:
Record<string, string>
Environment variables set inside the algorithm container. New in C2D v2.
const : ComputeAlgorithmRef = {
: 'did:ope:5678wxyz...',
: { : 'debug' }
}