2024-01-17 22:56:53 +01:00
<!DOCTYPE html> < html class = "default" lang = "en" > < head > < meta charSet = "utf-8" / > < meta http-equiv = "x-ua-compatible" content = "IE=edge" / > < title > ModelJSON | @vladmandic/face-api - v1.7.13< / title > < meta name = "description" content = "Documentation for @vladmandic/face-api" / > < meta name = "viewport" content = "width=device-width, initial-scale=1" / > < link rel = "stylesheet" href = "../assets/style.css" / > < link rel = "stylesheet" href = "../assets/highlight.css" / > < script defer src = "../assets/main.js" > < / script > < script async src = "../assets/search.js" id = "tsd-search-script" > < / script > < script async src = "../assets/navigation.js" id = "tsd-nav-script" > < / script > < / head > < body > < script > document . documentElement . dataset . theme = localStorage . getItem ( "tsd-theme" ) || "os" < / script > < header class = "tsd-page-toolbar" > < div class = "tsd-toolbar-contents container" > < div class = "table-cell" id = "tsd-search" data-base = ".." > < div class = "field" > < label for = "tsd-search-field" class = "tsd-widget tsd-toolbar-icon search no-caption" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" > < use href = "#icon-search" > < / use > < / svg > < / label > < input type = "text" id = "tsd-search-field" aria-label = "Search" / > < / div > < div class = "field" > < div id = "tsd-toolbar-links" > < / div > < / div > < ul class = "results" > < li class = "state loading" > Preparing search index...< / li > < li class = "state failure" > The search index is not available< / li > < / ul > < a href = "../index.html" class = "title" > @vladmandic/face-api - v1.7.13< / a > < / div > < div class = "table-cell" id = "tsd-widgets" > < a href = "#" class = "tsd-widget tsd-toolbar-icon menu no-caption" data-toggle = "menu" aria-label = "Menu" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" > < use href = "#icon-menu" > < / use > < / svg > < / a > < / div > < / div > < / header > < div class = "container container-main" > < div class = "col-content" > < div class = "tsd-page-title" > < ul class = "tsd-breadcrumb" > < li > < a href = "../index.html" > @vladmandic/face-api< / a > < / li > < li > < a href = "../modules/tf.html" > tf< / a > < / li > < li > < a href = "../modules/tf.io.html" > io< / a > < / li > < li > < a href = "tf.io.ModelJSON.html" > ModelJSON< / a > < / li > < / ul > < h1 > Interface ModelJSON< / h1 > < / div > < section class = "tsd-panel tsd-comment" > < div class = "tsd-comment tsd-typography" > < p > The on-disk format of the < code > model.json< / code > file.< / p >
< p > TF.js 1.0 always populates the optional fields when writing model.json.
Prior versions did not provide those fields.< / p >
2024-02-07 17:20:36 +01:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / section > < div class = "tsd-signature" > < span class = "tsd-signature-keyword" > interface < / span > < span class = "tsd-kind-interface" > ModelJSON< / span > < span class = "tsd-signature-symbol" > { < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#convertedBy" > convertedBy< / a > < span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#format" > format< / a > < span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#generatedBy" > generatedBy< / a > < span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#initializerSignature" > initializerSignature< / a > < span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-symbol" > {}< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#modelInitializer" > modelInitializer< / a > < span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-symbol" > {}< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#modelTopology" > modelTopology< / a > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > {}< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#signature" > signature< / a > < span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-symbol" > {}< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#trainingConfig" > trainingConfig< / a > < span class = "tsd-signature-symbol" > ?: < / span > < a href = "tf.io.TrainingConfig.html" class = "tsd-signature-type tsd-kind-interface" > TrainingConfig< / a > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#userDefinedMetadata" > userDefinedMetadata< / a > < span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-symbol" > { < / span > < br / > < span > < / span > [< span class = "tsd-kind-index-signature" > key< / span > : < span class = "tsd-signature-type" > string< / span > ]< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > {}< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < span class = "tsd-signature-symbol" > }< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span > < / span > < a class = "tsd-kind-property" href = "tf.io.ModelJSON.html#weightsManifest" > weightsManifest< / a > < span class = "tsd-signature-symbol" > : < / span > < a href = "../types/tf.io.WeightsManifestConfig.html" class = "tsd-signature-type tsd-kind-type-alias" > WeightsManifestConfig< / a > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span class = "tsd-signature-symbol" > }< / span > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:272< / li > < / ul > < / aside > < section class = "tsd-panel-group tsd-index-group" > < section class = "tsd-panel tsd-index-panel" > < details class = "tsd-index-content tsd-index-accordion" open > < summary class = "tsd-accordion-summary tsd-index-summary" > < h5 class = "tsd-index-heading uppercase" role = "button" aria-expanded = "false" tabIndex = "0" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" > < use href = "#icon-chevronSmall" > < / use > < / svg > Index< / h5 > < / summary > < div class = "tsd-accordion-details" > < section class = "tsd-index-section" > < h3 class = "tsd-index-heading" > Properties< / h3 > < div class = "tsd-index-list" > < a href = "tf.io.ModelJSON.html#convertedBy" class = "tsd-index-link" > < svg class = "
2024-01-17 22:56:53 +01:00
< a href = "tf.io.ModelJSON.html#format" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > format?< / span > < / a >
< a href = "tf.io.ModelJSON.html#generatedBy" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > generated< wbr / > By?< / span > < / a >
< a href = "tf.io.ModelJSON.html#initializerSignature" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > initializer< wbr / > Signature?< / span > < / a >
< a href = "tf.io.ModelJSON.html#modelInitializer" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > model< wbr / > Initializer?< / span > < / a >
< a href = "tf.io.ModelJSON.html#modelTopology" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > model< wbr / > Topology< / span > < / a >
< a href = "tf.io.ModelJSON.html#signature" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > signature?< / span > < / a >
< a href = "tf.io.ModelJSON.html#trainingConfig" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > training< wbr / > Config?< / span > < / a >
< a href = "tf.io.ModelJSON.html#userDefinedMetadata" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > user< wbr / > Defined< wbr / > Metadata?< / span > < / a >
< a href = "tf.io.ModelJSON.html#weightsManifest" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > weights< wbr / > Manifest< / span > < / a >
< / div > < / section > < / div > < / details > < / section > < / section > < section class = "tsd-panel-group tsd-member-group" > < h2 > Properties< / h2 > < section class = "tsd-panel tsd-member" > < a id = "convertedBy" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span > converted< wbr / > By< / span > < a href = "#convertedBy" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > converted< wbr / > By< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > string< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > What library or tool is responsible for converting the original model
to this format, applicable only if the model is output by a converter.< / p >
< p > Used for debugging purposes. E.g., ' TensorFlow.js Converter v1.0.0' .< / p >
< p > A value of < code > null< / code > means the model artifacts are generated without any
conversion process (e.g., saved directly from a TensorFlow.js
< code > tf.LayersModel< / code > instance.)< / p >
2024-02-07 17:20:36 +01:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:313< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "format" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span > format< / span > < a href = "#format" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > format< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > Hard-coded format name for models saved from TensorFlow.js or converted
2024-01-17 22:56:53 +01:00
by TensorFlow.js Converter.< / p >
2024-02-07 17:20:36 +01:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:296< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "generatedBy" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span > generated< wbr / > By< / span > < a href = "#generatedBy" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > generated< wbr / > By< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > What library is responsible for originally generating this artifact.< / p >
2024-01-17 22:56:53 +01:00
< p > Used for debugging purposes. E.g., ' TensorFlow.js v1.0.0' .< / p >
2024-02-07 17:20:36 +01:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:302< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "initializerSignature" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span > initializer< wbr / > Signature< / span > < a href = "#initializerSignature" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > initializer< wbr / > Signature< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-symbol" > {}< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > Inputs and outputs signature for model initializer.< / p >
< / div > < div class = "tsd-type-declaration" > < h4 > Type declaration< / h4 > < ul class = "tsd-parameters" > < / ul > < / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:331< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "modelInitializer" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span > model< wbr / > Initializer< / span > < a href = "#modelInitializer" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > model< wbr / > Initializer< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-symbol" > {}< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > Initializer for the model.< / p >
< / div > < div class = "tsd-type-declaration" > < h4 > Type declaration< / h4 > < ul class = "tsd-parameters" > < / ul > < / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:327< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "modelTopology" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > model< wbr / > Topology< / span > < a href = "#modelTopology" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > model< wbr / > Topology< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-symbol" > {}< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > Model topology.< / p >
2024-01-17 22:56:53 +01:00
< p > For Keras-style < code > tf.Model< / code > s, this is a JSON object.
For TensorFlow-style models (e.g., < code > SavedModel< / code > ), this is the JSON
encoding of the < code > GraphDef< / code > protocol buffer.< / p >
2024-02-07 17:20:36 +01:00
< / div > < div class = "tsd-type-declaration" > < h4 > Type declaration< / h4 > < ul class = "tsd-parameters" > < / ul > < / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:280< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "signature" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span > signature< / span > < a href = "#signature" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > signature< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-symbol" > {}< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > Inputs and outputs signature for saved model.< / p >
< / div > < div class = "tsd-type-declaration" > < h4 > Type declaration< / h4 > < ul class = "tsd-parameters" > < / ul > < / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:317< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "trainingConfig" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span > training< wbr / > Config< / span > < a href = "#trainingConfig" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > training< wbr / > Config< / span > < span class = "tsd-signature-symbol" > ?:< / span > < a href = "tf.io.TrainingConfig.html" class = "tsd-signature-type tsd-kind-interface" > TrainingConfig< / a > < / div > < div class = "tsd-comment tsd-typography" > < p > Model training configuration.< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:282< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "userDefinedMetadata" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span > user< wbr / > Defined< wbr / > Metadata< / span > < a href = "#userDefinedMetadata" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > user< wbr / > Defined< wbr / > Metadata< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-symbol" > { < / span > < br / > < span > < / span > [< span class = "tsd-kind-index-signature" > key< / span > : < span class = "tsd-signature-type" > string< / span > ]< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > {}< / span > < span class = "tsd-signature-symbol" > ; < / span > < br / > < span class = "tsd-signature-symbol" > }< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > User-defined metadata about the model.< / p >
< / div > < div class = "tsd-type-declaration" > < h4 > Type declaration< / h4 > < ul class = "tsd-parameters" > < li class = "tsd-parameter-index-signature" > < h5 > < span class = "tsd-signature-symbol" > [< / span > < span class = "tsd-kind-parameter" > key< / span > : < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ]: < / span > < span class = "tsd-signature-symbol" > {}< / span > < / h5 > < ul class = "tsd-parameters" > < / ul > < / li > < / ul > < / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:321< / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "weightsManifest" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > weights< wbr / > Manifest< / span > < a href = "#weightsManifest" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > weights< wbr / > Manifest< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../types/tf.io.WeightsManifestConfig.html" class = "tsd-signature-type tsd-kind-type-alias" > WeightsManifestConfig< / a > < / div > < div class = "tsd-comment tsd-typography" > < p > Weights manifest.< / p >
2024-01-17 22:56:53 +01:00
< p > The weights manifest consists of an ordered list of weight-manifest
groups. Each weight-manifest group consists of a number of weight values
stored in a number of paths. See the documentation of
< code > WeightsManifestConfig< / code > for more details.< / p >
2024-02-07 17:20:36 +01:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in node_modules/@tensorflow/tfjs-core/dist/io/types.d.ts:291< / li > < / ul > < / aside > < / section > < / section > < / div > < div class = "col-sidebar" > < div class = "page-menu" > < div class = "tsd-navigation settings" > < details class = "tsd-index-accordion" > < summary class = "tsd-accordion-summary" > < h3 > < svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" > < use href = "#icon-chevronDown" > < / use > < / svg > Settings< / h3 > < / summary > < div class = "tsd-accordion-details" > < div class = "tsd-filter-visibility" > < h4 class = "uppercase" > Member Visibility< / h4 > < form > < ul id = "tsd-filter-options" > < li class = "tsd-filter-item" > < label class = "tsd-filter-input" > < input type = "checkbox" id = "tsd-filter-inherited" name = "inherited" checked / > < svg width = "32" height = "32" viewBox = "0 0 32 32" aria-hidden = "true" > < rect class = "tsd-checkbox-background" width = "30" height = "30" x = "1" y = "1" rx = "6" fill = "none" > < / rect > < path class = "tsd-checkbox-checkmark" d = "M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke = "none" stroke-width = "3.5" stroke-linejoin = "round" fill = "none" > < / path > < / svg > < span > Inherited< / span > < / label > < / li > < / ul > < / form > < / div > < div class = "tsd-theme-toggle" > < h4 class = "uppercase" > Theme< / h4 > < select id = "tsd-theme" > < option value = "os" > OS< / option > < option value = "light" > Light< / option > < option value = "dark" > Dark< / option > < / select > < / div > < / div > < / details > < / div > < details open class = "tsd-index-accordion tsd-page-navigation" > < summary class = "tsd-accordion-summary" > < h3 > < svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" > < use href = "#icon-chevronDown" > < / use > < / svg > On This Page< / h3 > < / summary > < div class = "tsd-accordion-details" > < ul > < li > < a href = "#convertedBy" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > converted< wbr / > By< / span > < / a > < / li > < li > < a href = "#format" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > format< / span > < / a > < / li > < li > < a href = "#generatedBy" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > generated< wbr / > By< / span > < / a > < / li > < li > < a href = "#initializerSignature" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > initializer< wbr / > Signature< / span > < / a > < / li > < li > < a href = "#modelInitializer" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > model< wbr / > Initializer< / span > < / a > < / li > < li > < a href = "#modelTopology" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > model< wbr / > Topology< / span > < / a > < / li > < li > < a href = "#signature" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > signature< / span > < / a > < / li > < li > < a href = "#trainingConfig" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > training< wbr / > Config< / span > < / a > < / li > < li > < a href = "#userDefinedMetadata" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > user< wbr / > Defined< wbr / > Metadata< / span > < / a > < / li > < li > < a href = "#weightsManifest" class = "" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1024" > < / use > < / svg > < span > weights< wbr / > Manifest< / span > < / a > < / li > < / ul > < / div > < / details > < / div > < div class = "site-menu" > < nav class = "tsd-navigation" > < a href = "../index.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-1" > < / use > < / svg > < span > @vladmandic/face-api - v1.7.13< / span > < / a > < ul class = "tsd-small-nested-navigation" id = "tsd-nav-container" data-base = ".." > < li > < a href = "../modules/draw.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4" > < / use > < / svg > draw< / a > < / li > < li > < a href = "../modules/tf.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4" > < / use > < / svg > tf< / a > < / li > < li > < a href = "../modules/utils.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4" > < / use > < / svg > utils< / a > < / li > < li > < a href = "../enums/Gender.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-8" > < / use > < / svg > Gender< / a > < / li > < li > < a href = "..