Constructs a new ModelProto.
Optionalproperties: IModelProtoProperties to set
OptionaldenormalizerModelProto denormalizerSpec.
OptionalnormalizerModelProto normalizerSpec.
ModelProto pieces.
OptionalselfModelProto selfTestData.
OptionaltrainerModelProto trainerSpec.
Converts this ModelProto to JSON.
JSON object
StaticcreateCreates a new ModelProto instance using the specified properties.
Optionalproperties: IModelProtoProperties to set
ModelProto instance
StaticdecodeDecodes a ModelProto message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
ModelProto
StaticdecodeDecodes a ModelProto message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ModelProto
StaticencodeEncodes the specified ModelProto message. Does not implicitly verify messages.
ModelProto message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified ModelProto message, length delimited. Does not implicitly verify messages.
ModelProto message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a ModelProto message from a plain object. Also converts values to their respective internal types.
Plain object
ModelProto
StaticgetGets the default type url for ModelProto
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a ModelProto message. Also converts values to other types if specified.
ModelProto
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a ModelProto message.
Plain object to verify
null if valid, otherwise the reason why it is not
Represents a ModelProto.