Preparing search index...
The search index is not available
@vladmandic/face-api - v1.7.14
@vladmandic/face-api
AgeGenderNet
Class AgeGenderNet
Hierarchy (
view full
)
NeuralNetwork
<
NetParams
>
AgeGenderNet
Index
Constructors
constructor
Properties
_name
Accessors
face
Feature
Extractor
is
Loaded
param
Mappings
params
Methods
dispose
extract
Classifier
Params
extract
Weights
forward
forward
Input
freeze
get
Frozen
Params
get
Param
From
Path
get
Param
List
get
Trainable
Params
load
load
Classifier
Params
load
From
Disk
load
From
Uri
load
From
Weight
Map
predict
Age
And
Gender
reassign
Param
From
Path
run
Net
serialize
Params
variable
Constructors
constructor
new
Age
Gender
Net
(
faceFeatureExtractor
?
)
:
AgeGenderNet
Parameters
faceFeatureExtractor
:
TinyXception
= ...
Returns
AgeGenderNet
Properties
_name
_name
:
any
Accessors
face
Feature
Extractor
get
faceFeatureExtractor
(
)
:
TinyXception
Returns
TinyXception
is
Loaded
get
isLoaded
(
)
:
boolean
Returns
boolean
param
Mappings
get
paramMappings
(
)
:
ParamMapping
[]
Returns
ParamMapping
[]
params
get
params
(
)
:
undefined
|
TNetParams
Returns
undefined
|
TNetParams
Methods
dispose
dispose
(
throwOnRedispose
?
)
:
void
Parameters
throwOnRedispose
:
boolean
= true
Returns
void
extract
Classifier
Params
extract
Classifier
Params
(
weights
)
:
{
paramMappings
:
ParamMapping
[]
;
params
:
NetParams
;
}
Parameters
weights
:
Float32Array
Returns
{
paramMappings
:
ParamMapping
[]
;
params
:
NetParams
;
}
param
Mappings
:
ParamMapping
[]
params
:
NetParams
extract
Weights
extract
Weights
(
weights
)
:
void
Parameters
weights
:
Float32Array
Returns
void
forward
forward
(
input
)
:
Promise
<
NetOutput
>
Parameters
input
:
TNetInput
Returns
Promise
<
NetOutput
>
forward
Input
forward
Input
(
input
)
:
NetOutput
Parameters
input
:
Tensor4D
|
NetInput
Returns
NetOutput
freeze
freeze
(
)
:
void
Returns
void
get
Frozen
Params
get
Frozen
Params
(
)
:
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
Returns
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
get
Param
From
Path
get
Param
From
Path
(
paramPath
)
:
Tensor
<
Rank
>
Parameters
paramPath
:
string
Returns
Tensor
<
Rank
>
get
Param
List
get
Param
List
(
)
:
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
Returns
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
get
Trainable
Params
get
Trainable
Params
(
)
:
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
Returns
{
path
:
string
;
tensor
:
Tensor
<
Rank
>
;
}
[]
load
load
(
weightsOrUrl
)
:
Promise
<
void
>
Parameters
weightsOrUrl
:
undefined
|
string
|
Float32Array
Returns
Promise
<
void
>
load
Classifier
Params
load
Classifier
Params
(
weights
)
:
void
Parameters
weights
:
Float32Array
Returns
void
load
From
Disk
load
From
Disk
(
filePath
)
:
Promise
<
void
>
Parameters
filePath
:
undefined
|
string
Returns
Promise
<
void
>
load
From
Uri
load
From
Uri
(
uri
)
:
Promise
<
void
>
Parameters
uri
:
undefined
|
string
Returns
Promise
<
void
>
load
From
Weight
Map
load
From
Weight
Map
(
weightMap
)
:
void
Parameters
weightMap
:
NamedTensorMap
Returns
void
predict
Age
And
Gender
predict
Age
And
Gender
(
input
)
:
Promise
<
AgeAndGenderPrediction
|
AgeAndGenderPrediction
[]
>
Parameters
input
:
TNetInput
Returns
Promise
<
AgeAndGenderPrediction
|
AgeAndGenderPrediction
[]
>
reassign
Param
From
Path
reassign
Param
From
Path
(
paramPath
,
tensor
)
:
void
Parameters
paramPath
:
string
tensor
:
Tensor
<
Rank
>
Returns
void
run
Net
run
Net
(
input
)
:
NetOutput
Parameters
input
:
Tensor4D
|
NetInput
Returns
NetOutput
serialize
Params
serialize
Params
(
)
:
Float32Array
Returns
Float32Array
variable
variable
(
)
:
void
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_name
Accessors
face
Feature
Extractor
is
Loaded
param
Mappings
params
Methods
dispose
extract
Classifier
Params
extract
Weights
forward
forward
Input
freeze
get
Frozen
Params
get
Param
From
Path
get
Param
List
get
Trainable
Params
load
load
Classifier
Params
load
From
Disk
load
From
Uri
load
From
Weight
Map
predict
Age
And
Gender
reassign
Param
From
Path
run
Net
serialize
Params
variable
@vladmandic/face-api - v1.7.14
Loading...