Type Alias: StyleTransferModel
StyleTransferModel =
object
Defined in: extensions/cv/tasks/styleTransfer.ts:42
Model configuration required to instantiate a style transfer task runner.
Properties
modelOpts
readonlymodelOpts:StyleTransferOptions
Defined in: extensions/cv/tasks/styleTransfer.ts:50
Input preprocessing and output postprocessing (normalization back to uint8,
interpolation). resizeMode is fixed to 'stretch'.
See StyleTransferOptions.
modelPath
readonlymodelPath:string
Defined in: extensions/cv/tasks/styleTransfer.ts:44
Local path or remote URL of the .pte model file.