Initializer
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
BaseInitializer<T extends TType>,
Constant<T extends TType>,
Glorot<T extends TFloating>,
He<T extends TFloating>,
Identity<T extends TFloating>,
LeCun<T extends TFloating>,
Ones<T extends TType>,
Orthogonal<T extends TFloating>,
RandomNormal<T extends TFloating>,
RandomUniform<T extends TNumber>,
TruncatedNormal<T extends TFloating>,
VarianceScaling<T extends TFloating>,
Zeros<T extends TType>
|
An interface for Initializers
Public Methods
abstract
Operand<T>
|
call( Operand< TInt64> dims, Class<T> type)
Generates the operation used to perform the initialization.
|
Public Methods
public
abstract
Operand<T>
call
(Operand<TInt64> dims, Class<T> type)
Generates the operation used to perform the initialization.
Parameters
dims |
the shape dimensions |
type |
the type of tensor |
Returns
- An operand for the initialization.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]