clarifai-web-grpc 11.2.2 → 11.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3114,6 +3114,11 @@ export class ModelType extends jspb.Message {
|
|
|
3114
3114
|
getEvaluationType(): EvaluationType;
|
|
3115
3115
|
setEvaluationType(value: EvaluationType): ModelType;
|
|
3116
3116
|
|
|
3117
|
+
getMethodSignaturesList(): Array<MethodSignature>;
|
|
3118
|
+
setMethodSignaturesList(value: Array<MethodSignature>): ModelType;
|
|
3119
|
+
clearMethodSignaturesList(): ModelType;
|
|
3120
|
+
addMethodSignatures(value?: MethodSignature, index?: number): MethodSignature;
|
|
3121
|
+
|
|
3117
3122
|
serializeBinary(): Uint8Array;
|
|
3118
3123
|
toObject(includeInstance?: boolean): ModelType.AsObject;
|
|
3119
3124
|
static toObject(includeInstance: boolean, msg: ModelType): ModelType.AsObject;
|
|
@@ -3137,6 +3142,7 @@ export namespace ModelType {
|
|
|
3137
3142
|
expectedInputLayersList: Array<ModelLayerInfo.AsObject>,
|
|
3138
3143
|
expectedOutputLayersList: Array<ModelLayerInfo.AsObject>,
|
|
3139
3144
|
evaluationType: EvaluationType,
|
|
3145
|
+
methodSignaturesList: Array<MethodSignature.AsObject>,
|
|
3140
3146
|
}
|
|
3141
3147
|
}
|
|
3142
3148
|
|
|
@@ -3262,6 +3268,23 @@ export class ModelTypeField extends jspb.Message {
|
|
|
3262
3268
|
hasModelTypeRangeInfo(): boolean;
|
|
3263
3269
|
clearModelTypeRangeInfo(): ModelTypeField;
|
|
3264
3270
|
|
|
3271
|
+
getName(): string;
|
|
3272
|
+
setName(value: string): ModelTypeField;
|
|
3273
|
+
|
|
3274
|
+
getType(): ModelTypeField.DataType;
|
|
3275
|
+
setType(value: ModelTypeField.DataType): ModelTypeField;
|
|
3276
|
+
|
|
3277
|
+
getTypeArgsList(): Array<ModelTypeField>;
|
|
3278
|
+
setTypeArgsList(value: Array<ModelTypeField>): ModelTypeField;
|
|
3279
|
+
clearTypeArgsList(): ModelTypeField;
|
|
3280
|
+
addTypeArgs(value?: ModelTypeField, index?: number): ModelTypeField;
|
|
3281
|
+
|
|
3282
|
+
getIterator(): boolean;
|
|
3283
|
+
setIterator(value: boolean): ModelTypeField;
|
|
3284
|
+
|
|
3285
|
+
getDefault(): string;
|
|
3286
|
+
setDefault(value: string): ModelTypeField;
|
|
3287
|
+
|
|
3265
3288
|
serializeBinary(): Uint8Array;
|
|
3266
3289
|
toObject(includeInstance?: boolean): ModelTypeField.AsObject;
|
|
3267
3290
|
static toObject(includeInstance: boolean, msg: ModelTypeField): ModelTypeField.AsObject;
|
|
@@ -3281,6 +3304,11 @@ export namespace ModelTypeField {
|
|
|
3281
3304
|
internalOnly: boolean,
|
|
3282
3305
|
required: boolean,
|
|
3283
3306
|
modelTypeRangeInfo?: ModelTypeRangeInfo.AsObject,
|
|
3307
|
+
name: string,
|
|
3308
|
+
type: ModelTypeField.DataType,
|
|
3309
|
+
typeArgsList: Array<ModelTypeField.AsObject>,
|
|
3310
|
+
iterator: boolean,
|
|
3311
|
+
pb_default: string,
|
|
3284
3312
|
}
|
|
3285
3313
|
|
|
3286
3314
|
export enum ModelTypeFieldType {
|
|
@@ -3307,6 +3335,27 @@ export namespace ModelTypeField {
|
|
|
3307
3335
|
ENCRYPTED_STRING = 21,
|
|
3308
3336
|
CHECKPOINT_MODEL = 22,
|
|
3309
3337
|
}
|
|
3338
|
+
|
|
3339
|
+
export enum DataType {
|
|
3340
|
+
NOT_SET = 0,
|
|
3341
|
+
STR = 1,
|
|
3342
|
+
BYTES = 2,
|
|
3343
|
+
INT = 3,
|
|
3344
|
+
FLOAT = 4,
|
|
3345
|
+
BOOL = 5,
|
|
3346
|
+
NDARRAY = 6,
|
|
3347
|
+
JSON_DATA = 7,
|
|
3348
|
+
TEXT = 8,
|
|
3349
|
+
IMAGE = 9,
|
|
3350
|
+
CONCEPT = 10,
|
|
3351
|
+
REGION = 11,
|
|
3352
|
+
FRAME = 12,
|
|
3353
|
+
AUDIO = 13,
|
|
3354
|
+
VIDEO = 14,
|
|
3355
|
+
NAMED_FIELDS = 20,
|
|
3356
|
+
TUPLE = 21,
|
|
3357
|
+
LIST = 22,
|
|
3358
|
+
}
|
|
3310
3359
|
}
|
|
3311
3360
|
|
|
3312
3361
|
export class ModelTypeRangeInfo extends jspb.Message {
|
|
@@ -3516,6 +3565,11 @@ export class ModelVersion extends jspb.Message {
|
|
|
3516
3565
|
hasBuildInfo(): boolean;
|
|
3517
3566
|
clearBuildInfo(): ModelVersion;
|
|
3518
3567
|
|
|
3568
|
+
getMethodSignatureList(): Array<MethodSignature>;
|
|
3569
|
+
setMethodSignatureList(value: Array<MethodSignature>): ModelVersion;
|
|
3570
|
+
clearMethodSignatureList(): ModelVersion;
|
|
3571
|
+
addMethodSignature(value?: MethodSignature, index?: number): MethodSignature;
|
|
3572
|
+
|
|
3519
3573
|
serializeBinary(): Uint8Array;
|
|
3520
3574
|
toObject(includeInstance?: boolean): ModelVersion.AsObject;
|
|
3521
3575
|
static toObject(includeInstance: boolean, msg: ModelVersion): ModelVersion.AsObject;
|
|
@@ -3548,6 +3602,45 @@ export namespace ModelVersion {
|
|
|
3548
3602
|
trainLog: string,
|
|
3549
3603
|
inferenceComputeInfo?: ComputeInfo.AsObject,
|
|
3550
3604
|
buildInfo?: BuildInfo.AsObject,
|
|
3605
|
+
methodSignatureList: Array<MethodSignature.AsObject>,
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3609
|
+
export class MethodSignature extends jspb.Message {
|
|
3610
|
+
getName(): string;
|
|
3611
|
+
setName(value: string): MethodSignature;
|
|
3612
|
+
|
|
3613
|
+
getMethodType(): RunnerMethodType;
|
|
3614
|
+
setMethodType(value: RunnerMethodType): MethodSignature;
|
|
3615
|
+
|
|
3616
|
+
getDescription(): string;
|
|
3617
|
+
setDescription(value: string): MethodSignature;
|
|
3618
|
+
|
|
3619
|
+
getInputFieldsList(): Array<ModelTypeField>;
|
|
3620
|
+
setInputFieldsList(value: Array<ModelTypeField>): MethodSignature;
|
|
3621
|
+
clearInputFieldsList(): MethodSignature;
|
|
3622
|
+
addInputFields(value?: ModelTypeField, index?: number): ModelTypeField;
|
|
3623
|
+
|
|
3624
|
+
getOutputFieldsList(): Array<ModelTypeField>;
|
|
3625
|
+
setOutputFieldsList(value: Array<ModelTypeField>): MethodSignature;
|
|
3626
|
+
clearOutputFieldsList(): MethodSignature;
|
|
3627
|
+
addOutputFields(value?: ModelTypeField, index?: number): ModelTypeField;
|
|
3628
|
+
|
|
3629
|
+
serializeBinary(): Uint8Array;
|
|
3630
|
+
toObject(includeInstance?: boolean): MethodSignature.AsObject;
|
|
3631
|
+
static toObject(includeInstance: boolean, msg: MethodSignature): MethodSignature.AsObject;
|
|
3632
|
+
static serializeBinaryToWriter(message: MethodSignature, writer: jspb.BinaryWriter): void;
|
|
3633
|
+
static deserializeBinary(bytes: Uint8Array): MethodSignature;
|
|
3634
|
+
static deserializeBinaryFromReader(message: MethodSignature, reader: jspb.BinaryReader): MethodSignature;
|
|
3635
|
+
}
|
|
3636
|
+
|
|
3637
|
+
export namespace MethodSignature {
|
|
3638
|
+
export type AsObject = {
|
|
3639
|
+
name: string,
|
|
3640
|
+
methodType: RunnerMethodType,
|
|
3641
|
+
description: string,
|
|
3642
|
+
inputFieldsList: Array<ModelTypeField.AsObject>,
|
|
3643
|
+
outputFieldsList: Array<ModelTypeField.AsObject>,
|
|
3551
3644
|
}
|
|
3552
3645
|
}
|
|
3553
3646
|
|